パブリック最終クラスAttrValue
Protocol buffer representing the value for an attr used to configure an Op. Comment indicates the corresponding attr type. Only the field matching the attr type may be filled.Protobuf 型
tensorflow.AttrValue
ネストされたクラス
クラス | AttrValue.Builder | Protocol buffer representing the value for an attr used to configure an Op. | |
クラス | AttrValue.ListValue | LINT.IfChangeProtobuf 型 tensorflow.AttrValue.ListValue | |
インタフェース | AttrValue.ListValueOrBuilder | ||
列挙型 | AttrValue.ValueCase |
定数
整数 | B_FIELD_NUMBER | |
整数 | FUNC_FIELD_NUMBER | |
整数 | F_FIELD_NUMBER | |
整数 | I_FIELD_NUMBER | |
整数 | LIST_FIELD_NUMBER | |
整数 | PLACEHOLDER_FIELD_NUMBER | |
整数 | SHAPE_FIELD_NUMBER | |
整数 | S_FIELD_NUMBER | |
整数 | TENSOR_FIELD_NUMBER | |
整数 | TYPE_FIELD_NUMBER |
パブリックメソッド
ブール値 | 等しい(オブジェクトオブジェクト) |
ブール値 | getB () "bool" bool b = 5; |
静的属性値 | |
属性値 | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
フロート | getF () "float" float f = 4; |
名前属性リスト | getFunc () "func" represents a function. |
NameAttrListOrBuilder | getFuncOrBuilder () "func" represents a function. |
長さ | getI () "int" int64 i = 3; |
AttrValue.ListValue | getList () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.ListValueOrBuilder | getListOrBuilder () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
弦 | getプレースホルダー() This is a placeholder only used in nodes defined inside a function. |
com.google.protobuf.ByteString | getPlaceholderBytes () This is a placeholder only used in nodes defined inside a function. |
com.google.protobuf.ByteString | getS () "string" bytes s = 2; |
整数 | |
テンソル形状プロト | getShape () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
テンソルプロト | getTensor () "tensor" .tensorflow.TensorProto tensor = 8; |
TensorProtoOrBuilder | getTensorOrBuilder () "tensor" .tensorflow.TensorProto tensor = 8; |
データ型 | getType () "type" .tensorflow.DataType type = 6; |
整数 | getTypeValue () "type" .tensorflow.DataType type = 6; |
最終的な com.google.protobuf.UnknownFieldSet | |
AttrValue.ValueCase | getValueCase () |
ブール値 | hasFunc () "func" represents a function. |
ブール値 | hasList () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
ブール値 | hasShape () "shape" .tensorflow.TensorShapeProto shape = 7; |
ブール値 | hasTensor () "tensor" .tensorflow.TensorProto tensor = 8; |
整数 | ハッシュコード() |
最終ブール値 | |
静的AttrValue.Builder | newBuilder ( AttrValueプロトタイプ) |
静的AttrValue.Builder | newBuilder () |
AttrValue.Builder | |
静的属性値 | parseDelimitedFrom (InputStream 入力) |
静的属性値 | parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的属性値 | parseFrom (ByteBuffer データ) |
静的属性値 | parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的属性値 | parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的属性値 | parseFrom (com.google.protobuf.CodedInputStream 入力) |
静的属性値 | parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的属性値 | parseFrom (com.google.protobuf.ByteString データ) |
静的属性値 | parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的属性値 | parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的 | パーサー() |
AttrValue.Builder | toビルダー() |
空所 | writeTo (com.google.protobuf.CodedOutputStream 出力) |
継承されたメソッド
定数
パブリック静的最終整数B_FIELD_NUMBER
定数値: 5
パブリック静的最終整数FUNC_FIELD_NUMBER
定数値: 10
パブリック静的最終整数F_FIELD_NUMBER
定数値: 4
パブリック静的最終整数I_FIELD_NUMBER
定数値: 3
パブリック静的最終整数LIST_FIELD_NUMBER
定数値: 1
パブリック静的最終整数PLACEHOLDER_FIELD_NUMBER
定数値: 9
パブリック静的最終整数SHAPE_FIELD_NUMBER
定数値: 7
パブリック静的最終整数S_FIELD_NUMBER
定数値: 2
パブリック静的最終整数TENSOR_FIELD_NUMBER
定数値: 8
パブリック静的最終整数TYPE_FIELD_NUMBER
定数値: 6
パブリックメソッド
public booleanに等しい(オブジェクト obj)
パブリックブール値 getB ()
"bool"
bool b = 5;
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
パブリック float getF ()
"float"
float f = 4;
public NameAttrList getFunc ()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.tensorflow.NameAttrList func = 10;
public NameAttrListOrBuilder getFuncOrBuilder ()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.tensorflow.NameAttrList func = 10;
パブリックロングgetI ()
"int"
int64 i = 3;
public AttrValue.ListValueOrBuilder getListOrBuilder ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
公共 getParserForType ()
public String getPlaceholder ()
This is a placeholder only used in nodes defined inside a function. It indicates the attr value will be supplied when the function is instantiated. For example, let us suppose a node "N" in function "FN". "N" has an attr "A" with value placeholder = "foo". When FN is instantiated with attr "foo" set to "bar", the instantiated node N's attr A will have been given the value "bar".
string placeholder = 9;
public com.google.protobuf.ByteString getPlaceholderBytes ()
This is a placeholder only used in nodes defined inside a function. It indicates the attr value will be supplied when the function is instantiated. For example, let us suppose a node "N" in function "FN". "N" has an attr "A" with value placeholder = "foo". When FN is instantiated with attr "foo" set to "bar", the instantiated node N's attr A will have been given the value "bar".
string placeholder = 9;
public com.google.protobuf.ByteString getS ()
"string"
bytes s = 2;
public int getSerializedSize ()
public TensorShapeProtoOrBuilder getShapeOrBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
public int getTypeValue ()
"type"
.tensorflow.DataType type = 6;
public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasFunc ()
"func" represents a function. func.name is a function's name or a primitive op's name. func.attr.first is the name of an attr defined for that function. func.attr.second is the value for that attr in the instantiation.
.tensorflow.NameAttrList func = 10;
public boolean hasList ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
パブリックブール値hasShape ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
public boolean hasTensor ()
"tensor"
.tensorflow.TensorProto tensor = 8;
public int hashCode ()
パブリック最終ブール値isInitialized ()
public static AttrValue parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static AttrValue parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static AttrValue parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static AttrValue parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static AttrValue parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static AttrValue parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
IO例外 |
---|