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.Constructor | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
OpDef.ArgDef | construir () |
OpDef.ArgDef | |
OpDef.ArgDef.Constructor | claro () |
OpDef.ArgDef.Constructor | borrarDescripción () Human readable description. |
OpDef.ArgDef.Constructor | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
OpDef.ArgDef.Constructor | borrarIsRef () For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Constructor | borrar nombre () Name for the input/output. |
OpDef.ArgDef.Constructor | borrarNúmeroAttr () if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Constructor | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
OpDef.ArgDef.Constructor | tipo claro () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
OpDef.ArgDef.Constructor | clearTypeAttr () if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Constructor | clearTypeListAttr () If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
OpDef.ArgDef.Constructor | clonar () |
OpDef.ArgDef | |
Cadena | obtener descripción () Human readable description. |
com.google.protobuf.ByteString | obtenerDescripciónBytes () Human readable description. |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
booleano | obtenerIsRef () For inputs: if true, the inputs are required to be refs. |
Cadena | obtenerNombre () Name for the input/output. |
com.google.protobuf.ByteString | getNombreBytes () Name for the input/output. |
Cadena | 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 | obtener tipo () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
Cadena | 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; |
Cadena | 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. |
entero | obtenerTipoValor () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
booleano final | |
OpDef.ArgDef.Constructor | mergeFrom (com.google.protobuf.Message otro) |
OpDef.ArgDef.Constructor | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
OpDef.ArgDef.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
OpDef.ArgDef.Constructor | setDescription (valor de cadena) Human readable description. |
OpDef.ArgDef.Constructor | setDescriptionBytes (valor com.google.protobuf.ByteString) Human readable description. |
OpDef.ArgDef.Constructor | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
OpDef.ArgDef.Constructor | setIsRef (valor booleano) For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Constructor | setName (valor de cadena) Name for the input/output. |
OpDef.ArgDef.Constructor | setNameBytes (valor com.google.protobuf.ByteString) Name for the input/output. |
OpDef.ArgDef.Constructor | setNumberAttr (valor de cadena) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Constructor | setNumberAttrBytes (valor com.google.protobuf.ByteString) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Constructor | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
OpDef.ArgDef.Constructor | setType (valor de tipo de datos ) Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
OpDef.ArgDef.Constructor | setTypeAttr (valor de cadena) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Constructor | setTypeAttrBytes (valor de com.google.protobuf.ByteString) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Constructor | 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.Constructor | 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.Constructor | 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 desconocidoFields) |
Métodos heredados
Métodos públicos
público OpDef.ArgDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
pública OpDef.ArgDef.Builder clearDescription ()
Human readable description.
string description = 2;
público 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;
público OpDef.ArgDef.Builder clearName ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
público OpDef.ArgDef.Builder clearNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5;
público 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;
público OpDef.ArgDef.Builder clearTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4;
público 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;
cadena pública getDescription ()
Human readable description.
string description = 2;
público com.google.protobuf.ByteString getDescriptionBytes ()
Human readable description.
string description = 2;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público 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;
cadena pública getName ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
público com.google.protobuf.ByteString getNameBytes ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
cadena pública getNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5;
público com.google.protobuf.ByteString getNumberAttrBytes ()
if specified, attr must have type "int"
string number_attr = 5;
tipo de datos público 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;
cadena pública getTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4;
público com.google.protobuf.ByteString getTypeAttrBytes ()
if specified, attr must have type "type"
string type_attr = 4;
cadena pública 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;
público 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;
público 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;
público final booleano isInitialized ()
OpDef.ArgDef.Builder público mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
Lanza
IOExcepción |
---|
público final OpDef.ArgDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
public OpDef.ArgDef.Builder setDescription (valor de cadena)
Human readable description.
string description = 2;
público OpDef.ArgDef.Builder setDescriptionBytes (valor com.google.protobuf.ByteString)
Human readable description.
string description = 2;
público OpDef.ArgDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público 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;
público OpDef.ArgDef.Builder setName (valor de cadena)
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
público 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;
público OpDef.ArgDef.Builder setNumberAttr (valor de cadena)
if specified, attr must have type "int"
string number_attr = 5;
público OpDef.ArgDef.Builder setNumberAttrBytes (valor com.google.protobuf.ByteString)
if specified, attr must have type "int"
string number_attr = 5;
público OpDef.ArgDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
público OpDef.ArgDef.Builder setType (valor de tipo de datos )
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;
público OpDef.ArgDef.Builder setTypeAttr (valor de cadena)
if specified, attr must have type "type"
string type_attr = 4;
público OpDef.ArgDef.Builder setTypeAttrBytes (valor com.google.protobuf.ByteString)
if specified, attr must have type "type"
string type_attr = 4;
público 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;
público 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.
string type_list_attr = 6;
público 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;