publiczna statyczna klasa końcowa 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.Protobuf typu
tensorflow.OpDef.AttrDef
Metody publiczne
Konstruktor OpDef.AttrDef | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
OpDef.AttrDef | zbudować () |
OpDef.AttrDef | |
Konstruktor OpDef.AttrDef | jasne () |
Konstruktor OpDef.AttrDef | wyczyśćDozwoloneWartości () The set of allowed values. |
Konstruktor OpDef.AttrDef | wyczyść wartość domyślną () A reasonable default for this attribute if the user does not supply a value. |
Konstruktor OpDef.AttrDef | jasneOpis () Human-readable description. |
Konstruktor OpDef.AttrDef | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
Konstruktor OpDef.AttrDef | wyczyśćHasMinimum () For type == "int", this is a minimum value. |
Konstruktor OpDef.AttrDef | jasneMinimum () int64 minimum = 6; |
Konstruktor OpDef.AttrDef | wyczyść nazwę () A descriptive name for the argument. |
Konstruktor OpDef.AttrDef | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Konstruktor OpDef.AttrDef | wyczyść typ () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
Konstruktor OpDef.AttrDef | klon () |
Wartość atr | getAllowedValues () The set of allowed values. |
Konstruktor wartości atr | getAllowedValuesBuilder () The set of allowed values. |
AttrValueOrBuilder | getAllowedValuesOrBuilder () The set of allowed values. |
OpDef.AttrDef | |
Wartość atr | pobierz wartość domyślną () A reasonable default for this attribute if the user does not supply a value. |
Konstruktor wartości atr | getDefaultValueBuilder () A reasonable default for this attribute if the user does not supply a value. |
AttrValueOrBuilder | getDefaultValueOrBuilder () A reasonable default for this attribute if the user does not supply a value. |
Smyczkowy | pobierz opis () Human-readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human-readable description. |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
wartość logiczna | getHasMinimum () For type == "int", this is a minimum value. |
długi | pobierzMinimum () int64 minimum = 6; |
Smyczkowy | pobierz nazwę () A descriptive name for the argument. |
com.google.protobuf.ByteString | getNameBytes () A descriptive name for the argument. |
Smyczkowy | pobierzTyp () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
com.google.protobuf.ByteString | getTypeBytes () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
wartość logiczna | ma dozwolone wartości () The set of allowed values. |
wartość logiczna | ma wartość domyślną () A reasonable default for this attribute if the user does not supply a value. |
końcowa wartość logiczna | |
Konstruktor OpDef.AttrDef | |
Konstruktor OpDef.AttrDef | mergeDefaultValue (wartość AttrValue ) A reasonable default for this attribute if the user does not supply a value. |
Konstruktor OpDef.AttrDef | mergeFrom (com.google.protobuf.Wiadomość inna) |
Konstruktor OpDef.AttrDef | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
końcowy OpDef.AttrDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Konstruktor OpDef.AttrDef | |
Konstruktor OpDef.AttrDef | |
Konstruktor OpDef.AttrDef | setDefaultValue (wartość AttrValue ) A reasonable default for this attribute if the user does not supply a value. |
Konstruktor OpDef.AttrDef | setDefaultValue ( AttrValue.Builder builderForValue) A reasonable default for this attribute if the user does not supply a value. |
Konstruktor OpDef.AttrDef | setDescription (wartość ciągu) Human-readable description. |
Konstruktor OpDef.AttrDef | setDescriptionBytes (wartość com.google.protobuf.ByteString) Human-readable description. |
Konstruktor OpDef.AttrDef | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Konstruktor OpDef.AttrDef | setHasMinimum (wartość logiczna) For type == "int", this is a minimum value. |
Konstruktor OpDef.AttrDef | setMinimum (długa wartość) int64 minimum = 6; |
Konstruktor OpDef.AttrDef | setName (wartość ciągu) A descriptive name for the argument. |
Konstruktor OpDef.AttrDef | setNameBytes (wartość com.google.protobuf.ByteString) A descriptive name for the argument. |
Konstruktor OpDef.AttrDef | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
Konstruktor OpDef.AttrDef | setType (wartość ciągu) One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
Konstruktor OpDef.AttrDef | setTypeBytes (wartość com.google.protobuf.ByteString) One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
końcowy OpDef.AttrDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Metody dziedziczone
Metody publiczne
public OpDef.AttrDef.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public OpDef.AttrDef.Builder 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;
public OpDef.AttrDef.Builder 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;
public OpDef.AttrDef.Builder clearDescription ()
Human-readable description.
string description = 4;
public OpDef.AttrDef.Builder clearHasMinimum ()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
public OpDef.AttrDef.Builder 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;
publiczny OpDef.AttrDef.Builder clearType ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
public AttrValue 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;
public AttrValue.Builder 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;
public AttrValueOrBuilder 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;
public AttrValue 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;
public AttrValue.Builder 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;
public AttrValueOrBuilder 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;
public String getDescription ()
Human-readable description.
string description = 4;
public com.google.protobuf.ByteString getDescriptionBytes ()
Human-readable description.
string description = 4;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
publiczny com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
publiczna wartość logiczna getHasMinimum ()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
publiczny długi getMinimum ()
int64 minimum = 6;
public String getName ()
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 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;
publiczny ciąg getType ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
publiczny com.google.protobuf.ByteString getTypeBytes ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
publiczna wartość logiczna maAllowedValues ()
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;
publiczna wartość logiczna maDefaultValue ()
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;
publiczna końcowa wartość logiczna isInitialized ()
public OpDef.AttrDef.Builder mergeAllowedValues (wartość 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;
public OpDef.AttrDef.Builder mergeDefaultValue (wartość 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;
publiczny OpDef.AttrDef.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Wyjątek IO |
---|
publiczny końcowy OpDef.AttrDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public OpDef.AttrDef.Builder setAllowedValues ( 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;
public OpDef.AttrDef.Builder setAllowedValues (wartość 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;
public OpDef.AttrDef.Builder setDefaultValue (wartość 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;
publiczny OpDef.AttrDef.Builder setDefaultValue ( 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 (wartość ciągu)
Human-readable description.
string description = 4;
public OpDef.AttrDef.Builder setDescriptionBytes (wartość com.google.protobuf.ByteString)
Human-readable description.
string description = 4;
public OpDef.AttrDef.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public OpDef.AttrDef.Builder setHasMinimum (wartość logiczna)
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 (wartość ciągu)
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 setNameBytes (wartość 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 (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
public OpDef.AttrDef.Builder setType (wartość ciągu)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
public OpDef.AttrDef.Builder setTypeBytes (wartość com.google.protobuf.ByteString)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;