מחלקה סופית סטטית ציבורית 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.
tensorflow.OpDef.AttrDef
שיטות ציבוריות
OpDef.AttrDef.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
OpDef.AttrDef | לבנות () |
OpDef.AttrDef | buildPartial () |
OpDef.AttrDef.Builder | ברור () |
OpDef.AttrDef.Builder | clearAllowedValues () The set of allowed values. |
OpDef.AttrDef.Builder | clearDefaultValue () A reasonable default for this attribute if the user does not supply a value. |
OpDef.AttrDef.Builder | clearDescription () Human-readable description. |
OpDef.AttrDef.Builder | clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor) |
OpDef.AttrDef.Builder | clearHasMinimum () For type == "int", this is a minimum value. |
OpDef.AttrDef.Builder | clearMinimum () int64 minimum = 6; |
OpDef.AttrDef.Builder | clearName () A descriptive name for the argument. |
OpDef.AttrDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OpDef.AttrDef.Builder | clearType () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
OpDef.AttrDef.Builder | שיבוט () |
AttrValue | getAllowedValues () The set of allowed values. |
AttrValue.Builder | getAllowedValuesBuilder () The set of allowed values. |
AttrValueOrBuilder | getAllowedValuesOrBuilder () The set of allowed values. |
OpDef.AttrDef | |
AttrValue | getDefaultValue () A reasonable default for this attribute if the user does not supply a value. |
AttrValue.Builder | 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. |
חוּט | getDescription () Human-readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human-readable description. |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
בוליאני | getHasMinimum () For type == "int", this is a minimum value. |
אָרוֹך | getMinimum () int64 minimum = 6; |
חוּט | getName () A descriptive name for the argument. |
com.google.protobuf.ByteString | getNameBytes () A descriptive name for the argument. |
חוּט | getType () 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.). |
בוליאני | hasAllowedValues () The set of allowed values. |
בוליאני | hasDefaultValue () A reasonable default for this attribute if the user does not supply a value. |
בוליאנית סופית | |
OpDef.AttrDef.Builder | |
OpDef.AttrDef.Builder | mergeDefaultValue (ערך AttrValue ) A reasonable default for this attribute if the user does not supply a value. |
OpDef.AttrDef.Builder | mergeFrom (com.google.protobuf.Message אחר) |
OpDef.AttrDef.Builder | mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
סופי OpDef.AttrDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
OpDef.AttrDef.Builder | |
OpDef.AttrDef.Builder | |
OpDef.AttrDef.Builder | setDefaultValue (ערך AttrValue ) A reasonable default for this attribute if the user does not supply a value. |
OpDef.AttrDef.Builder | setDefaultValue ( AttrValue.Builder builderForValue) A reasonable default for this attribute if the user does not supply a value. |
OpDef.AttrDef.Builder | setDescription (ערך מחרוזת) Human-readable description. |
OpDef.AttrDef.Builder | setDescriptionBytes (ערך com.google.protobuf.ByteString) Human-readable description. |
OpDef.AttrDef.Builder | setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
OpDef.AttrDef.Builder | setHasMinimum (ערך בוליאני) For type == "int", this is a minimum value. |
OpDef.AttrDef.Builder | setMinimum (ערך ארוך) int64 minimum = 6; |
OpDef.AttrDef.Builder | setName (ערך מחרוזת) A descriptive name for the argument. |
OpDef.AttrDef.Builder | setNameBytes (ערך com.google.protobuf.ByteString) A descriptive name for the argument. |
OpDef.AttrDef.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
OpDef.AttrDef.Builder | setType (ערך מחרוזת) One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
OpDef.AttrDef.Builder | setTypeBytes (ערך com.google.protobuf.ByteString) One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
סופי OpDef.AttrDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
שיטות בירושה
שיטות ציבוריות
Public OpDef.AttrDef.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
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;
public 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;
מחרוזת ציבורית 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 ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
getHasMinimum בוליאני ציבורי ()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
Public long getMinimum ()
int64 minimum = 6;
מחרוזת ציבורית 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;
מחרוזת ציבורית getType ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
public com.google.protobuf.ByteString getTypeBytes ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
בוליאני ציבורי 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;
בוליאני ציבורי 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;
בוליאני הסופי הציבורי הוא אתחול ()
Public OpDef.AttrDef.Builder mergeAllowedValues (ערך 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 (ערך 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public final OpDef.AttrDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
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 (ערך 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 ( ערך 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 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 (ערך מחרוזת)
Human-readable description.
string description = 4;
Public OpDef.AttrDef.Builder setDescriptionBytes (ערך com.google.protobuf.ByteString)
Human-readable description.
string description = 4;
Public OpDef.AttrDef.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
Public OpDef.AttrDef.Builder setHasMinimum (ערך בוליאני)
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 (ערך מחרוזת)
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 (ערך 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 (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט)
public OpDef.AttrDef.Builder setType (ערך מחרוזת)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
Public OpDef.AttrDef.Builder setTypeBytes (ערך com.google.protobuf.ByteString)
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;