パブリック静的最終クラスAttrValue.Builder
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 | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
属性値 | 建てる() |
属性値 | buildPartial () |
AttrValue.Builder | クリア() |
AttrValue.Builder | クリアB () "bool" bool b = 5; |
AttrValue.Builder | クリアファ() "float" float f = 4; |
AttrValue.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド) |
AttrValue.Builder | クリアファンク() "func" represents a function. |
AttrValue.Builder | クリア() "int" int64 i = 3; |
AttrValue.Builder | クリアリスト() any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AttrValue.Builder | クリアプレースホルダー() This is a placeholder only used in nodes defined inside a function. |
AttrValue.Builder | クリア() "string" bytes s = 2; |
AttrValue.Builder | クリアシェイプ() "shape" .tensorflow.TensorShapeProto shape = 7; |
AttrValue.Builder | クリアテンソル() "tensor" .tensorflow.TensorProto tensor = 8; |
AttrValue.Builder | クリアタイプ() "type" .tensorflow.DataType type = 6; |
AttrValue.Builder | クリア値() |
AttrValue.Builder | クローン() |
ブール値 | getB () "bool" bool b = 5; |
属性値 | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
フロート | getF () "float" float f = 4; |
名前属性リスト | getFunc () "func" represents a function. |
NameAttrList.Builder | getFuncBuilder () "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.ListValue.Builder | getListBuilder () 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; |
TensorShapeProto.Builder | getShapeBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
テンソルプロト | getTensor () "tensor" .tensorflow.TensorProto tensor = 8; |
TensorProto.Builder | getTensorBuilder () "tensor" .tensorflow.TensorProto tensor = 8; |
TensorProtoOrBuilder | getTensorOrBuilder () "tensor" .tensorflow.TensorProto tensor = 8; |
データ型 | getType () "type" .tensorflow.DataType type = 6; |
整数 | getTypeValue () "type" .tensorflow.DataType type = 6; |
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 | mergeFrom (com.google.protobuf.Message other) |
AttrValue.Builder | mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
最終的なAttrValue.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
AttrValue.Builder | setB (ブール値) "bool" bool b = 5; |
AttrValue.Builder | setF (浮動小数点値) "float" float f = 4; |
AttrValue.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | setI (長い値) "int" int64 i = 3; |
AttrValue.Builder | |
AttrValue.Builder | setList ( AttrValue.ListValue.Builder builderForValue) any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.Builder | setPlaceholder (文字列値) This is a placeholder only used in nodes defined inside a function. |
AttrValue.Builder | setPlaceholderBytes (com.google.protobuf.ByteString 値) This is a placeholder only used in nodes defined inside a function. |
AttrValue.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値) |
AttrValue.Builder | setS (com.google.protobuf.ByteString 値) "string" bytes s = 2; |
AttrValue.Builder | |
AttrValue.Builder | setShape ( TensorShapeProto.Builder builderForValue) "shape" .tensorflow.TensorShapeProto shape = 7; |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | setTypeValue (int 値) "type" .tensorflow.DataType type = 6; |
最終的なAttrValue.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
継承されたメソッド
パブリックメソッド
public AttrValue.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
public AttrValue.Builder clearFunc ()
"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 AttrValue.Builder clearPlaceholder ()
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;
パブリックブール値 getB ()
"bool"
bool b = 5;
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
パブリック 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 NameAttrList.Builder getFuncBuilder ()
"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.ListValue.Builder getListBuilder ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
public AttrValue.ListValueOrBuilder getListOrBuilder ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
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 TensorShapeProtoOrBuilder getShapeOrBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
public int getTypeValue ()
"type"
.tensorflow.DataType type = 6;
パブリックブール値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;
public boolean hasShape ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
public boolean hasTensor ()
"tensor"
.tensorflow.TensorProto tensor = 8;
パブリック最終ブール値isInitialized ()
public AttrValue.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public AttrValue.Builder mergeFunc ( NameAttrList値)
"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 AttrValue.Builder mergeList ( AttrValue.ListValue値)
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
public AttrValue.Builder mergeShape ( TensorShapeProto値)
"shape"
.tensorflow.TensorShapeProto shape = 7;
public AttrValue.Builder setFunc ( NameAttrList.Builder builderForValue)
"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 AttrValue.Builder setFunc ( NameAttrList値)
"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 AttrValue.Builder setList ( AttrValue.ListValue値)
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
public AttrValue.Builder setList ( AttrValue.ListValue.Builder builderForValue)
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
public AttrValue.Builder setPlaceholder (文字列値)
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 AttrValue.Builder setPlaceholderBytes (com.google.protobuf.ByteString 値)
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 AttrValue.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
public AttrValue.Builder setShape ( TensorShapeProto値)
"shape"
.tensorflow.TensorShapeProto shape = 7;
public AttrValue.Builder setShape ( TensorShapeProto.Builder builderForValue)
"shape"
.tensorflow.TensorShapeProto shape = 7;
public AttrValue.Builder setTensor ( TensorProto.Builder builderForValue)
"tensor"
.tensorflow.TensorProto tensor = 8;