genel statik son sınıf OpDef.ArgDef.Builder
For describing inputs and outputs.
tensorflow.OpDef.ArgDef
Genel Yöntemler
OpDef.ArgDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
OpDef.ArgDef | inşa etmek () |
OpDef.ArgDef | inşaKısmi () |
OpDef.ArgDef.Builder | temizlemek () |
OpDef.ArgDef.Builder | clearDescription () Human readable description. |
OpDef.ArgDef.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
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 | klon () |
OpDef.ArgDef | |
Sicim | getDescription () Human readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human readable description. |
final statik com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | getIsRef () For inputs: if true, the inputs are required to be refs. |
Sicim | getName () Name for the input/output. |
com.google.protobuf.ByteString | getNameBytes () Name for the input/output. |
Sicim | 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; |
Veri Türü | getType () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
Sicim | 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; |
Sicim | 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. |
int | getTypeValue () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
son boole değeri | Başlatıldı () |
OpDef.ArgDef.Builder | mergeFrom (com.google.protobuf.Message other) |
OpDef.ArgDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
son OpDef.ArgDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
OpDef.ArgDef.Builder | setDescription (Dize değeri) Human readable description. |
OpDef.ArgDef.Builder | setDescriptionBytes (com.google.protobuf.ByteString değeri) Human readable description. |
OpDef.ArgDef.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
OpDef.ArgDef.Builder | setIsRef (boole değeri) For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Builder | setName (Dize değeri) Name for the input/output. |
OpDef.ArgDef.Builder | setNameBytes (com.google.protobuf.ByteString değeri) Name for the input/output. |
OpDef.ArgDef.Builder | setNumberAttr (Dize değeri) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | setNumberAttrBytes (com.google.protobuf.ByteString değeri) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
OpDef.ArgDef.Builder | |
OpDef.ArgDef.Builder | setTypeAttr (Dize değeri) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | setTypeAttrBytes (com.google.protobuf.ByteString değeri) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | setTypeListAttr (Dize değeri) If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
OpDef.ArgDef.Builder | setTypeListAttrBytes (com.google.protobuf.ByteString değeri) If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
OpDef.ArgDef.Builder | setTypeValue (int değeri) Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
son OpDef.ArgDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
Kalıtsal Yöntemler
Genel Yöntemler
public OpDef.ArgDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
genel 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;
genel 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;
genel Dize getDescription ()
Human readable description.
string description = 2;
public com.google.protobuf.ByteString getDescriptionBytes ()
Human readable description.
string description = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
genel boolean getIsRef ()
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;
genel Dize 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;
genel Veri Türü 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;
genel Dize 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;
genel Dize 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;
genel 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;
genel final boolean isInitialized ()
genel OpDef.ArgDef.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IO İstisnası |
---|
genel final OpDef.ArgDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public OpDef.ArgDef.Builder setDescription (Dize değeri)
Human readable description.
string description = 2;
public OpDef.ArgDef.Builder setDescriptionBytes (com.google.protobuf.ByteString değeri)
Human readable description.
string description = 2;
public OpDef.ArgDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public OpDef.ArgDef.Builder setIsRef (boole değeri)
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 (Dize değeri)
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public OpDef.ArgDef.Builder setNameBytes (com.google.protobuf.ByteString değeri)
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public OpDef.ArgDef.Builder setNumberAttr (Dize değeri)
if specified, attr must have type "int"
string number_attr = 5;
public OpDef.ArgDef.Builder setNumberAttrBytes (com.google.protobuf.ByteString değeri)
if specified, attr must have type "int"
string number_attr = 5;
public OpDef.ArgDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri)
public OpDef.ArgDef.Builder setType ( DataType değeri)
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 (Dize değeri)
if specified, attr must have type "type"
string type_attr = 4;
public OpDef.ArgDef.Builder setTypeAttrBytes (com.google.protobuf.ByteString değeri)
if specified, attr must have type "type"
string type_attr = 4;
public OpDef.ArgDef.Builder setTypeListAttr (Dize değeri)
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 (com.google.protobuf.ByteString değeri)
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 (int değeri)
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;