clase final estática pública OpDef.ArgDef.Builder
For describing inputs and outputs.Protobuf tipo
tensorflow.OpDef.ArgDef
Métodos públicos
OpDef.ArgDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
OpDef.ArgDef | construir () |
OpDef.ArgDef | buildPartial () |
OpDef.ArgDef.Builder | claro () |
OpDef.ArgDef.Builder | clearDescription () Human readable description. |
OpDef.ArgDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
OpDef.ArgDef.Builder | clearIsRef () For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Builder | clearName () Name for the input/output. |
OpDef.ArgDef.Builder | clearNumberAttr () if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OpDef.ArgDef.Builder | clearType () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
OpDef.ArgDef.Builder | clearTypeAttr () if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | clearTypeListAttr () If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
OpDef.ArgDef.Builder | clonar () |
OpDef.ArgDef | |
Cuerda | getDescription () Human readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human readable description. |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
booleano | getIsRef () For inputs: if true, the inputs are required to be refs. |
Cuerda | getName () Name for the input/output. |
com.google.protobuf.ByteString | getNameBytes () Name for the input/output. |
Cuerda | getNumberAttr () if specified, attr must have type "int" string number_attr = 5; |
com.google.protobuf.ByteString | getNumberAttrBytes () if specified, attr must have type "int" string number_attr = 5; |
Tipo de datos | getType () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
Cuerda | getTypeAttr () if specified, attr must have type "type" string type_attr = 4; |
com.google.protobuf.ByteString | getTypeAttrBytes () if specified, attr must have type "type" string type_attr = 4; |
Cuerda | getTypeListAttr () If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
com.google.protobuf.ByteString | getTypeListAttrBytes () If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
En t | getTypeValue () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
booleano final | |
OpDef.ArgDef.Builder | mergeFrom (com.google.protobuf.Message otro) |
OpDef.ArgDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
OpDef.ArgDef.Builder | setDescription (valor de cadena) Human readable description. |
OpDef.ArgDef.Builder | setDescriptionBytes (valor de com.google.protobuf.ByteString) Human readable description. |
OpDef.ArgDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
OpDef.ArgDef.Builder | setIsRef (valor booleano) For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Builder | setName (valor de cadena) Name for the input/output. |
OpDef.ArgDef.Builder | setNameBytes (valor de com.google.protobuf.ByteString) Name for the input/output. |
OpDef.ArgDef.Builder | setNumberAttr (valor de cadena) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | setNumberAttrBytes (valor de com.google.protobuf.ByteString) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
OpDef.ArgDef.Builder | |
OpDef.ArgDef.Builder | setTypeAttr (valor de cadena) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | setTypeAttrBytes (valor de com.google.protobuf.ByteString) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | setTypeListAttr (valor de cadena) If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
OpDef.ArgDef.Builder | setTypeListAttrBytes (valor com.google.protobuf.ByteString) If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
OpDef.ArgDef.Builder | setTypeValue (valor int) Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
OpDef.ArgDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos heredados
Métodos públicos
public OpDef.ArgDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public OpDef.ArgDef.Builder clearIsRef ()
For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
public OpDef.ArgDef.Builder clearName ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public OpDef.ArgDef.Builder clearNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5;
public OpDef.ArgDef.Builder clearType ()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
public OpDef.ArgDef.Builder clearTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4;
public OpDef.ArgDef.Builder clearTypeListAttr ()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
public String getDescription ()
Human readable description.
string description = 2;
public com.google.protobuf.ByteString getDescriptionBytes ()
Human readable description.
string description = 2;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
getIsRef () booleano público
For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
public String getName ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public String getNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5;
public com.google.protobuf.ByteString getNumberAttrBytes ()
if specified, attr must have type "int"
string number_attr = 5;
public DataType getType ()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
public String getTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4;
public com.google.protobuf.ByteString getTypeAttrBytes ()
if specified, attr must have type "type"
string type_attr = 4;
public String getTypeListAttr ()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
public com.google.protobuf.ByteString getTypeListAttrBytes ()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
public int getTypeValue ()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
public final boolean isInitialized ()
public OpDef.ArgDef.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
OpDef.ArgDef.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public OpDef.ArgDef.Builder setDescription (valor de cadena)
Human readable description.
string description = 2;
public OpDef.ArgDef.Builder setDescriptionBytes (valor de com.google.protobuf.ByteString)
Human readable description.
string description = 2;
public OpDef.ArgDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
public OpDef.ArgDef.Builder setIsRef (valor booleano)
For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
public OpDef.ArgDef.Builder setName (valor de cadena)
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public OpDef.ArgDef.Builder setNameBytes (valor com.google.protobuf.ByteString)
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public OpDef.ArgDef.Builder setNumberAttr (valor de cadena)
if specified, attr must have type "int"
string number_attr = 5;
public OpDef.ArgDef.Builder setNumberAttrBytes (valor de com.google.protobuf.ByteString)
if specified, attr must have type "int"
string number_attr = 5;
public OpDef.ArgDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
public OpDef.ArgDef.Builder setType (valor de DataType )
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
public OpDef.ArgDef.Builder setTypeAttr (valor de cadena)
if specified, attr must have type "type"
string type_attr = 4;
public OpDef.ArgDef.Builder setTypeAttrBytes (valor de com.google.protobuf.ByteString)
if specified, attr must have type "type"
string type_attr = 4;
public OpDef.ArgDef.Builder setTypeListAttr (valor de cadena)
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
public OpDef.ArgDef.Builder setTypeListAttrBytes (valor de com.google.protobuf.ByteString)
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
public OpDef.ArgDef.Builder setTypeValue (valor int)
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;