classe final estática pública OpDef.ArgDef.Builder
For describing inputs and outputs.
tensorflow.OpDef.ArgDef
Métodos Públicos
OpDef.ArgDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
OpDef.ArgDef | construir () |
OpDef.ArgDef | |
OpDef.ArgDef.Builder | claro () |
OpDef.ArgDef.Builder | limparDescrição () Human readable description. |
OpDef.ArgDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
OpDef.ArgDef.Builder | limparIsRef () For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Builder | limparNome () 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 umof) |
OpDef.ArgDef.Builder | limparType () 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 | |
Corda | getDescrição () Human readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human readable description. |
final estático com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
booleano | getIsRef () For inputs: if true, the inputs are required to be refs. |
Corda | getNome () Name for the input/output. |
com.google.protobuf.ByteString | getNomeBytes () Name for the input/output. |
Corda | 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 dados | getType () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
Corda | 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; |
Corda | 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. |
interno | 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 outro) |
OpDef.ArgDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef.Builder final | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
OpDef.ArgDef.Builder | setDescription (valor da string) Human readable description. |
OpDef.ArgDef.Builder | setDescriptionBytes (valor com.google.protobuf.ByteString) Human readable description. |
OpDef.ArgDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
OpDef.ArgDef.Builder | setIsRef (valor booleano) For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Builder | setName (valor da string) Name for the input/output. |
OpDef.ArgDef.Builder | setNameBytes (valor com.google.protobuf.ByteString) Name for the input/output. |
OpDef.ArgDef.Builder | setNumberAttr (valor da string) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | setNumberAttrBytes (valor 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 do objeto) |
OpDef.ArgDef.Builder | |
OpDef.ArgDef.Builder | setTypeAttr (valor da string) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | setTypeAttrBytes (valor com.google.protobuf.ByteString) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | setTypeListAttr (valor da string) 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 interno) 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 desconhecidoFields) |
Métodos herdados
Métodos Públicos
public OpDef.ArgDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
público 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;
String pública getDescrição ()
Human readable description.
string description = 2;
público com.google.protobuf.ByteString getDescriptionBytes ()
Human readable description.
string description = 2;
final estático público 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;
String pública getNome ()
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;
String 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 dados 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;
String 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;
String 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 ()
public OpDef.ArgDef.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público final OpDef.ArgDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
público OpDef.ArgDef.Builder setDescription (valor da string)
Human readable description.
string description = 2;
público OpDef.ArgDef.Builder setDescriptionBytes (valor com.google.protobuf.ByteString)
Human readable description.
string description = 2;
public OpDef.ArgDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do 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 da string)
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 da string)
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;
public OpDef.ArgDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
público OpDef.ArgDef.Builder setType (valor 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;
público OpDef.ArgDef.Builder setTypeAttr (valor da string)
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 da string)
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;