パブリック静的最終クラス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 | クリアデフォルト値() A reasonable default for this attribute if the user does not supply a value. |
OpDef.AttrDef.Builder | クリア説明() 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 | クリア最小値() int64 minimum = 6; |
OpDef.AttrDef.Builder | クリアネーム() A descriptive name for the argument. |
OpDef.AttrDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OpDef.AttrDef.Builder | クリアタイプ() One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
OpDef.AttrDef.Builder | クローン() |
属性値 | getAllowedValues () The set of allowed values. |
AttrValue.Builder | getAllowedValuesBuilder () The set of allowed values. |
AttrValueOrBuilder | getAllowedValuesOrBuilder () The set of allowed values. |
OpDef.AttrDef | |
属性値 | 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. |
弦 | get説明() Human-readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human-readable description. |
最終的な静的 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 other) |
OpDef.AttrDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
最終的なOpDef.AttrDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
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 フィールド、int インデックス、オブジェクト値) |
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.UnknownFieldSetknownFields) |
継承されたメソッド
パブリックメソッド
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;
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 ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public boolean 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;
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;
パブリック String 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;
public boolean 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;
public boolean 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;
パブリック最終ブール値isInitialized ()
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)
投げる
IO例外 |
---|
public Final OpDef.AttrDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
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 フィールド、int インデックス、オブジェクト値)
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;