kelas akhir statis publik OpDef.ArgDef.Builder
For describing inputs and outputs.Tipe protobuf
tensorflow.OpDef.ArgDef
Metode Publik
OpDef.ArgDef.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
OpDef.ArgDef | membangun () |
OpDef.ArgDef | |
OpDef.ArgDef.Builder | jernih () |
OpDef.ArgDef.Builder | jelasDeskripsi () Human readable description. |
OpDef.ArgDef.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
OpDef.ArgDef.Builder | jelasIsRef () For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Builder | nama jelas () Name for the input/output. |
OpDef.ArgDef.Builder | hapusNumberAttr () if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OpDef.ArgDef.Builder | tipe jelas () 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 | klon () |
OpDef.ArgDef | |
Rangkaian | dapatkanDeskripsi () Human readable description. |
com.google.protobuf.ByteString | dapatkanDeskripsiBytes () Human readable description. |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | dapatkanIsRef () For inputs: if true, the inputs are required to be refs. |
Rangkaian | dapatkan Nama () Name for the input/output. |
com.google.protobuf.ByteString | dapatkanNamaBytes () Name for the input/output. |
Rangkaian | dapatkanNumberAttr () if specified, attr must have type "int" string number_attr = 5; |
com.google.protobuf.ByteString | dapatkanNumberAttrBytes () if specified, attr must have type "int" string number_attr = 5; |
Tipe Data | dapatkan Tipe () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
Rangkaian | dapatkanTypeAttr () if specified, attr must have type "type" string type_attr = 4; |
com.google.protobuf.ByteString | dapatkanTypeAttrBytes () if specified, attr must have type "type" string type_attr = 4; |
Rangkaian | dapatkanTypeListAttr () 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. |
ke dalam | dapatkanTypeValue () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
boolean terakhir | |
OpDef.ArgDef.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
OpDef.ArgDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
OpDef.ArgDef.Builder | setDescription (Nilai string) Human readable description. |
OpDef.ArgDef.Builder | setDescriptionBytes (nilai com.google.protobuf.ByteString) Human readable description. |
OpDef.ArgDef.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
OpDef.ArgDef.Builder | setIsRef (nilai boolean) For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Builder | setName (Nilai string) Name for the input/output. |
OpDef.ArgDef.Builder | setNameBytes (nilai com.google.protobuf.ByteString) Name for the input/output. |
OpDef.ArgDef.Builder | setNumberAttr (Nilai string) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | setNumberAttrBytes (nilai com.google.protobuf.ByteString) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
OpDef.ArgDef.Builder | |
OpDef.ArgDef.Builder | setTypeAttr (Nilai string) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | setTypeAttrBytes (nilai com.google.protobuf.ByteString) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | setTypeListAttr (Nilai 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 (nilai 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 (nilai int) Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
OpDef.ArgDef.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
public OpDef.ArgDef.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
OpDef.ArgDef.Builder publik 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;
OpDef.ArgDef.Builder publik ClearName ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
OpDef.ArgDef.Builder publik clearNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5;
OpDef.ArgDef.Builder publik 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;
OpDef.ArgDef.Builder publik clearTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4;
OpDef.ArgDef.Builder publik 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;
GetDeskripsi String publik ()
Human readable description.
string description = 2;
com.google.protobuf.ByteString publik getDescriptionBytes ()
Human readable description.
string description = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
getIsRef boolean publik ()
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;
GetName String publik ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
publik com.google.protobuf.ByteString getNameBytes ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
String publik getNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5;
publik com.google.protobuf.ByteString getNumberAttrBytes ()
if specified, attr must have type "int"
string number_attr = 5;
Tipe Data publik 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 publik getTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4;
publik com.google.protobuf.ByteString getTypeAttrBytes ()
if specified, attr must have type "type"
string type_attr = 4;
String publik 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;
publik 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;
publik 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;
boolean akhir publik diinisialisasi ()
public OpDef.ArgDef.Builder mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
OpDef.ArgDef.Builder akhir publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public OpDef.ArgDef.Builder setDescription (Nilai string)
Human readable description.
string description = 2;
setDescriptionBytes OpDef.ArgDef.Builder publik (nilai com.google.protobuf.ByteString)
Human readable description.
string description = 2;
public OpDef.ArgDef.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
OpDef.ArgDef.Builder setIsRef publik (nilai boolean)
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 (Nilai string)
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
OpDef.ArgDef.Builder setNameBytes publik (nilai 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 (Nilai string)
if specified, attr must have type "int"
string number_attr = 5;
setNumberAttrBytes OpDef.ArgDef.Builder publik (nilai com.google.protobuf.ByteString)
if specified, attr must have type "int"
string number_attr = 5;
public OpDef.ArgDef.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
setType OpDef.ArgDef.Builder publik (nilai Tipe Data )
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 (Nilai string)
if specified, attr must have type "type"
string type_attr = 4;
OpDef.ArgDef.Builder setTypeAttrBytes publik (nilai com.google.protobuf.ByteString)
if specified, attr must have type "type"
string type_attr = 4;
public OpDef.ArgDef.Builder setTypeListAttr (Nilai 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;
OpDef.ArgDef.Builder setTypeListAttrBytes publik (nilai 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;
OpDef.ArgDef.Builder setTypeValue publik (nilai 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;