OpDef.AttrDef

パブリック静的最終クラスOpD​​ef.AttrDef

 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 型tensorflow.OpDef.AttrDef

ネストされたクラス

クラスOpDef.AttrDef.Builder
 Description of the graph-construction-time configuration of this
 Op. 

定数

整数ALLOWED_VALUES_FIELD_NUMBER
整数DEFAULT_VALUE_FIELD_NUMBER
整数DESCRIPTION_FIELD_NUMBER
整数HAS_MINIMUM_FIELD_NUMBER
整数MINIMUM_FIELD_NUMBER
整数NAME_FIELD_NUMBER
整数TYPE_FIELD_NUMBER

パブリックメソッド

ブール値
等しい(オブジェクトオブジェクト)
属性値
getAllowedValues ()
 The set of allowed values.
AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
静的OpDef.AttrDef
OpDef.AttrDef
属性値
getDefaultValue ()
 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
ブール値
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.).
最終的な com.google.protobuf.UnknownFieldSet
ブール値
hasAllowedValues ()
 The set of allowed values.
ブール値
hasDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
整数
最終ブール値
静的OpDef.AttrDef.Builder
newBuilder ( OpDef.AttrDefプロトタイプ)
静的OpDef.AttrDef.Builder
OpDef.AttrDef.Builder
静的OpDef.AttrDef
parseDelimitedFrom (InputStream 入力)
静的OpDef.AttrDef
parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的OpDef.AttrDef
parseFrom (ByteBuffer データ)
静的OpDef.AttrDef
parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的OpDef.AttrDef
parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的OpDef.AttrDef
parseFrom (com.google.protobuf.CodedInputStream 入力)
静的OpDef.AttrDef
parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的OpDef.AttrDef
parseFrom (com.google.protobuf.ByteString データ)
静的OpDef.AttrDef
parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的OpDef.AttrDef
parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的
OpDef.AttrDef.Builder
空所
writeTo (com.google.protobuf.CodedOutputStream 出力)

継承されたメソッド

定数

パブリック静的最終整数ALLOWED_VALUES_FIELD_NUMBER

定数値: 7

パブリック静的最終整数DEFAULT_VALUE_FIELD_NUMBER

定数値: 3

パブリック静的最終整数DESCRIPTION_FIELD_NUMBER

定数値: 4

パブリック静的最終整数HAS_MINIMUM_FIELD_NUMBER

定数値: 5

パブリック静的最終整数MINIMUM_FIELD_NUMBER

定数値: 6

パブリック静的最終整数NAME_FIELD_NUMBER

定数値: 1

パブリック静的最終整数TYPE_FIELD_NUMBER

定数値: 2

パブリックメソッド

public booleanに等しい(オブジェクト obj)

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 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;

パブリック静的OpDef.AttrDef getDefaultInstance ()

public OpDef.AttrDef getDefaultInstanceForType ()

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 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 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;

公共getParserForType ()

public int getSerializedSize ()

パブリック 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 Final com.google.protobuf.UnknownFieldSet getUnknownFields ()

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;

public int hashCode ()

パブリック最終ブール値isInitialized ()

public static OpDef.AttrDef.Builder newBuilder ( OpDef.AttrDefプロトタイプ)

public static OpDef.AttrDef.Builder newBuilder ()

public OpDef.AttrDef.Builder newBuilderForType ()

public static OpDef.AttrDef parseDelimitedFrom (InputStream 入力)

投げる
IO例外

public static OpDef.AttrDef parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static OpDef.AttrDef parseFrom (ByteBuffer データ)

投げる
無効なプロトコルバッファ例外

public static OpDef.AttrDef parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static OpDef.AttrDef parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static OpDef.AttrDef parseFrom (com.google.protobuf.CodedInputStream 入力)

投げる
IO例外

public static OpDef.AttrDef parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static OpDef.AttrDef parseFrom (com.google.protobuf.ByteString データ)

投げる
無効なプロトコルバッファ例外

public static OpDef.AttrDef parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static OpDef.AttrDef parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

パブリック静的パーサー()

public OpDef.AttrDef.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream 出力)

投げる
IO例外