kelas akhir statis publik OpDef.AttrDef.Builder
Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.Tipe protobuf
tensorflow.OpDef.AttrDef
Metode Publik
OpDef.AttrDef.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
OpDef.AttrDef | membangun () |
OpDef.AttrDef | |
OpDef.AttrDef.Builder | jernih () |
OpDef.AttrDef.Builder | hapusNilai yang Diizinkan () The set of allowed values. |
OpDef.AttrDef.Builder | hapusNilaiDefault () A reasonable default for this attribute if the user does not supply a value. |
OpDef.AttrDef.Builder | jelasDeskripsi () Human-readable description. |
OpDef.AttrDef.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
OpDef.AttrDef.Builder | jelasMemilikiMinimum () For type == "int", this is a minimum value. |
OpDef.AttrDef.Builder | jelasMinimum () int64 minimum = 6; |
OpDef.AttrDef.Builder | nama jelas () A descriptive name for the argument. |
OpDef.AttrDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OpDef.AttrDef.Builder | tipe jelas () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
OpDef.AttrDef.Builder | klon () |
Nilai Attr | dapatkan Nilai yang Diizinkan () The set of allowed values. |
AttrValue.Builder | dapatkanAllowedValuesBuilder () The set of allowed values. |
AttrValueOrBuilder | dapatkanAllowedValuesOrBuilder () The set of allowed values. |
OpDef.AttrDef | |
Nilai Attr | dapatkan Nilai Default () A reasonable default for this attribute if the user does not supply a value. |
AttrValue.Builder | dapatkanDefaultValueBuilder () A reasonable default for this attribute if the user does not supply a value. |
AttrValueOrBuilder | dapatkanDefaultValueOrBuilder () A reasonable default for this attribute if the user does not supply a value. |
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 | dapatkan HasMinimum () For type == "int", this is a minimum value. |
panjang | dapatkan Minimum () int64 minimum = 6; |
Rangkaian | dapatkan Nama () A descriptive name for the argument. |
com.google.protobuf.ByteString | dapatkanNamaBytes () A descriptive name for the argument. |
Rangkaian | dapatkan Tipe () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
com.google.protobuf.ByteString | dapatkanTypeBytes () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
boolean | hasAllowedValues () The set of allowed values. |
boolean | memilikiDefaultValue () A reasonable default for this attribute if the user does not supply a value. |
boolean terakhir | |
OpDef.AttrDef.Builder | |
OpDef.AttrDef.Builder | mergeDefaultValue (nilai AttrValue ) A reasonable default for this attribute if the user does not supply a value. |
OpDef.AttrDef.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
OpDef.AttrDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.AttrDef.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
OpDef.AttrDef.Builder | |
OpDef.AttrDef.Builder | |
OpDef.AttrDef.Builder | setDefaultValue (nilai AttrValue ) A reasonable default for this attribute if the user does not supply a value. |
OpDef.AttrDef.Builder | setDefaultValue ( AttrValue.Pembuat pembangunForValue) A reasonable default for this attribute if the user does not supply a value. |
OpDef.AttrDef.Builder | setDescription (Nilai string) Human-readable description. |
OpDef.AttrDef.Builder | setDescriptionBytes (nilai com.google.protobuf.ByteString) Human-readable description. |
OpDef.AttrDef.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
OpDef.AttrDef.Builder | setHasMinimum (nilai boolean) For type == "int", this is a minimum value. |
OpDef.AttrDef.Builder | setMinimum (nilai panjang) int64 minimum = 6; |
OpDef.AttrDef.Builder | setName (Nilai string) A descriptive name for the argument. |
OpDef.AttrDef.Builder | setNameBytes (nilai com.google.protobuf.ByteString) A descriptive name for the argument. |
OpDef.AttrDef.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
OpDef.AttrDef.Builder | setType (Nilai string) One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
OpDef.AttrDef.Builder | setTypeBytes (nilai com.google.protobuf.ByteString) One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
OpDef.AttrDef.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Metode Warisan
Metode Publik
public OpDef.AttrDef.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
OpDef.AttrDef.Builder publik clearAllowedValues ()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
OpDef.AttrDef.Builder publik clearDefaultValue ()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
OpDef.AttrDef.Builder publik clearDescription ()
Human-readable description.
string description = 4;
OpDef.AttrDef.Builder publik clearHasMinimum ()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
OpDef.AttrDef.Builder publik clearName ()
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
OpDef.AttrDef.Builder publik clearType ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
AttrValue publik getAllowedValues ()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
AttrValue.Builder publik getAllowedValuesBuilder ()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
AttrValueOrBuilder publik getAllowedValuesOrBuilder ()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
AttrValue publik getDefaultValue ()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
AttrValue.Builder publik getDefaultValueBuilder ()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
AttrValueOrBuilder publik getDefaultValueOrBuilder ()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
GetDeskripsi String publik ()
Human-readable description.
string description = 4;
publik com.google.protobuf.ByteString getDescriptionBytes ()
Human-readable description.
string description = 4;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
boolean publik getHasMinimum ()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
dapatkan panjang publikMinimum ()
int64 minimum = 6;
GetName String publik ()
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
publik com.google.protobuf.ByteString getNameBytes ()
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
GetType String publik ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
publik com.google.protobuf.ByteString getTypeBytes ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
boolean publik hasAllowedValues ()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
boolean publik hasDefaultValue ()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
boolean akhir publik diinisialisasi ()
OpDef.AttrDef.Builder mergeAllowedValues publik (nilai AttrValue )
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
OpDef.AttrDef.Builder mergeDefaultValue publik (nilai AttrValue )
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
public OpDef.AttrDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
OpDef.AttrDef.Builder akhir publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
OpDef.AttrDef.Builder setAllowedValues publik ( AttrValue.Builder builderForValue)
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
OpDef.AttrDef.Builder setAllowedValues publik (nilai AttrValue )
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
OpDef.AttrDef.Builder publik setDefaultValue (nilai AttrValue )
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
OpDef.AttrDef.Builder setDefaultValue publik ( AttrValue.Builder builderForValue)
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
public OpDef.AttrDef.Builder setDescription (Nilai string)
Human-readable description.
string description = 4;
setDescriptionBytes OpDef.AttrDef.Builder publik (nilai com.google.protobuf.ByteString)
Human-readable description.
string description = 4;
public OpDef.AttrDef.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
public OpDef.AttrDef.Builder setHasMinimum (nilai boolean)
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
public OpDef.AttrDef.Builder setName (Nilai string)
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
OpDef.AttrDef.Builder setNameBytes publik (nilai com.google.protobuf.ByteString)
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
public OpDef.AttrDef.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
public OpDef.AttrDef.Builder setType (Nilai string)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
OpDef.AttrDef.Builder setTypeBytes publik (nilai com.google.protobuf.ByteString)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;