パブリック静的最終クラスFunctionDef.Builder
A function can be instantiated when the runtime can bind every attr with a value. When a GraphDef has a call to a function, it must have binding for every attr defined in the signature. TODO(zhifengc): * device spec, etc.
tensorflow.FunctionDef
パブリックメソッド
関数定義ビルダー | addAllNodeDef (Iterable<? extends NodeDef > 値) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
関数定義ビルダー | addNodeDef ( NodeDef値) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
関数定義ビルダー | addNodeDef ( NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
関数定義ビルダー | addNodeDef (int インデックス、 NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
関数定義ビルダー | addNodeDef (int インデックス、 NodeDef値) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | addNodeDefBuilder () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | addNodeDefBuilder (int インデックス) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
関数定義ビルダー | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
関数定義 | 建てる() |
関数定義 | buildPartial () |
関数定義ビルダー | クリア() |
関数定義ビルダー | ClearArgAttr () |
関数定義ビルダー | クリア属性() |
関数定義ビルダー | |
関数定義ビルダー | clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド) |
関数定義ビルダー | クリアNodeDef () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
関数定義ビルダー | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
関数定義ビルダー | |
関数定義ビルダー | クリアレット() |
関数定義ビルダー | クリア署名() The definition of the function's name, arguments, return values, attrs etc. |
関数定義ビルダー | クローン() |
ブール値 | containsArgAttr (int キー) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
ブール値 | containsAttr (文字列キー) Attributes specific to this function definition. |
ブール値 | containsControlRet (文字列キー) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
ブール値 | containsResourceArgUniqueId (int キー) Unique IDs for each resource argument, used to track aliasing resources. |
ブール値 | containsRet (文字列キー) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
Map<Integer, FunctionDef.ArgAttrs > | getArgAttr () 代わりに getArgAttrMap() を使用してください。 |
整数 | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Map<Integer, FunctionDef.ArgAttrs > | getArgAttrMap () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrDefault (int キー、 FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.ArgAttrs | getArgAttrOrThrow (int キー) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Map<String, AttrValue > | getAttr () 代わりに getAttrMap() を使用してください。 |
整数 | getAttrCount () Attributes specific to this function definition. |
Map<String, AttrValue > | getAttrMap () Attributes specific to this function definition. |
属性値 | |
属性値 | getAttrOrThrow (文字列キー) Attributes specific to this function definition. |
マップ<文字列, 文字列> | getControlRet () 代わりに getControlRetMap() を使用してください。 |
整数 | getControlRetCount () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
マップ<文字列, 文字列> | getControlRetMap () A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
弦 | getControlRetOrDefault (文字列キー、文字列defaultValue) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
弦 | getControlRetOrThrow (文字列キー) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
関数定義 | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Map<Integer, FunctionDef.ArgAttrs > | getMutableArgAttr () 代わりに代替の突然変異アクセサーを使用してください。 |
Map<String, AttrValue > | getMutableAttr () 代わりに代替の突然変異アクセサーを使用してください。 |
マップ<文字列, 文字列> | getMutableControlRet () 代わりに代替の突然変異アクセサーを使用してください。 |
Map<整数, 整数> | getMutableResourceArgUniqueId () 代わりに代替の突然変異アクセサーを使用してください。 |
マップ<文字列, 文字列> | getMutableRet () 代わりに代替の突然変異アクセサーを使用してください。 |
ノード定義 | getNodeDef (int インデックス) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | getNodeDefBuilder (int インデックス) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
リスト< NodeDef.Builder > | getNodeDefBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
整数 | getNodeDefCount () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
リスト< NodeDef > | getNodeDefList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
ノード定義またはビルダー | getNodeDefOrBuilder (int インデックス) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
リスト<? NodeDefOrBuilder を拡張 > | getNodeDefOrBuilderList () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
Map<整数, 整数> | getResourceArgUniqueId () 代わりに getResourceArgUniqueIdMap() を使用してください。 |
整数 | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
Map<整数, 整数> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
整数 | getResourceArgUniqueIdOrDefault (int キー、int デフォルト値) Unique IDs for each resource argument, used to track aliasing resources. |
整数 | getResourceArgUniqueIdOrThrow (int キー) Unique IDs for each resource argument, used to track aliasing resources. |
マップ<文字列, 文字列> | getRet () 代わりに getRetMap() を使用してください。 |
整数 | getRetCount () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
マップ<文字列, 文字列> | getRetMap () A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
弦 | getRetOrDefault (文字列キー、文字列defaultValue) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
弦 | getRetOrThrow (文字列キー) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
作戦防御 | getSignature () The definition of the function's name, arguments, return values, attrs etc. |
OpDef.Builder | getSignatureBuilder () The definition of the function's name, arguments, return values, attrs etc. |
OpDefOrBuilder | getSignatureOrBuilder () The definition of the function's name, arguments, return values, attrs etc. |
ブール値 | 署名あり() The definition of the function's name, arguments, return values, attrs etc. |
最終ブール値 | |
関数定義ビルダー | mergeFrom (com.google.protobuf.Message other) |
関数定義ビルダー | mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
関数定義ビルダー | mergeSignature ( OpDef値) The definition of the function's name, arguments, return values, attrs etc. |
最終的なFunctionDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
関数定義ビルダー | putAllArgAttr (Map<Integer, FunctionDef.ArgAttrs > 値) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
関数定義ビルダー | |
関数定義ビルダー | putAllControlRet (Map<String, String> 値) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
関数定義ビルダー | putAllResourceArgUniqueId (Map<Integer, Integer> 値) Unique IDs for each resource argument, used to track aliasing resources. |
関数定義ビルダー | putAllRet (Map<String, String> 値) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
関数定義ビルダー | putArgAttr (int キー、 FunctionDef.ArgAttrs値) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
関数定義ビルダー | |
関数定義ビルダー | putControlRet (文字列キー、文字列値) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
関数定義ビルダー | putResourceArgUniqueId (int キー、int 値) Unique IDs for each resource argument, used to track aliasing resources. |
関数定義ビルダー | putRet (文字列キー、文字列値) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
関数定義ビルダー | RemoveArgAttr (int キー) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
関数定義ビルダー | RemoveAttr (文字列キー) Attributes specific to this function definition. |
関数定義ビルダー | RemoveControlRet (文字列キー) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
関数定義ビルダー | RemoveNodeDef (int インデックス) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
関数定義ビルダー | RemoveResourceArgUniqueId (int キー) Unique IDs for each resource argument, used to track aliasing resources. |
関数定義ビルダー | RemoveRet (文字列キー) A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function. |
関数定義ビルダー | setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
関数定義ビルダー | setNodeDef (int インデックス、 NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
関数定義ビルダー | setNodeDef (int インデックス、 NodeDef値) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
関数定義ビルダー | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値) |
関数定義ビルダー | |
関数定義ビルダー | setSignature ( OpDef.Builder builderForValue) The definition of the function's name, arguments, return values, attrs etc. |
最終的なFunctionDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
継承されたメソッド
パブリックメソッド
public FunctionDef.Builder addAllNodeDef (Iterable<? extends NodeDef > 値)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addNodeDef ( NodeDef値)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addNodeDef ( NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addNodeDef (int インデックス、 NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addNodeDef (int インデックス、 NodeDef値)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public NodeDef.Builder addNodeDefBuilder ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public NodeDef.Builder addNodeDefBuilder (int インデックス)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
public FunctionDef.Builder clearNodeDef ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder clearSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public boolean containsArgAttr (int キー)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public boolean containsAttr (文字列キー)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public boolean containsControlRet (文字列キー)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public boolean containsResourceArgUniqueId (int キー)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public boolean containsRet (文字列キー)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public int getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public Map<Integer, FunctionDef.ArgAttrs > getArgAttrMap ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrDefault (int キー、 FunctionDef.ArgAttrs defaultValue)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.ArgAttrs getArgAttrOrThrow (int キー)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public int getAttrCount ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public Map<String, AttrValue > getAttrMap ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrDefault (文字列キー、 AttrValue defaultValue)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public AttrValue getAttrOrThrow (文字列キー)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public int getControlRetCount ()
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public Map<String, String> getControlRetMap ()
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public String getControlRetOrDefault (文字列キー、文字列defaultValue)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public String getControlRetOrThrow (文字列キー)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public Map<String, String> getMutableControlRet ()
代わりに代替の突然変異アクセサーを使用してください。
public Map<Integer, Integer> getMutableResourceArgUniqueId ()
代わりに代替の突然変異アクセサーを使用してください。
public Map<String, String> getMutableRet ()
代わりに代替の突然変異アクセサーを使用してください。
public NodeDef getNodeDef (int インデックス)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public NodeDef.Builder getNodeDefBuilder (int インデックス)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public List< NodeDef.Builder > getNodeDefBuilderList ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public int getNodeDefCount ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public List< NodeDef > getNodeDefList ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public NodeDefOrBuilder getNodeDefOrBuilder (int インデックス)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
公開リスト<? extends NodeDefOrBuilder > getNodeDefOrBuilderList ()
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public int getResourceArgUniqueIdCount ()
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public Map<Integer, Integer> getResourceArgUniqueIdMap ()
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public int getResourceArgUniqueIdOrDefault (int キー、int defaultValue)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public int getResourceArgUniqueIdOrThrow (int キー)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public int getRetCount ()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public Map<String, String> getRetMap ()
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public String getRetOrDefault (文字列キー、文字列defaultValue)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public String getRetOrThrow (文字列キー)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public OpDef getSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public OpDef.Builder getSignatureBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public OpDefOrBuilder getSignatureOrBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public boolean hasSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
パブリック最終ブール値isInitialized ()
public FunctionDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public FunctionDef.Builder mergeSignature ( OpDef値)
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public Final FunctionDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public FunctionDef.Builder putAllArgAttr (Map<Integer, FunctionDef.ArgAttrs > 値)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAllAttr (Map<String, AttrValue > 値)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putAllControlRet (Map<String, String> 値)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public FunctionDef.Builder putAllResourceArgUniqueId (Map<Integer, Integer> 値)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public FunctionDef.Builder putAllRet (Map<String, String> 値)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public FunctionDef.Builder putArgAttr (int キー、 FunctionDef.ArgAttrs値)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder putAttr (文字列キー、 AttrValue値)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder putControlRet (文字列キー、文字列値)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public FunctionDef.Builder putResourceArgUniqueId (int キー、int 値)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public FunctionDef.Builder putRet (文字列キー、文字列値)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public FunctionDef.Builder RemoveArgAttr (int キー)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
public FunctionDef.Builder RemoveAttr (文字列キー)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
public FunctionDef.Builder RemoveControlRet (文字列キー)
A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function.
map<string, string> control_ret = 6;
public FunctionDef.Builder RemoveNodeDef (int インデックス)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder RemoveResourceArgUniqueId (int キー)
Unique IDs for each resource argument, used to track aliasing resources. If Argument A and Argument B alias each other, then resource_arg_unique_ids[A.index] == resource_arg_unique_ids[B.index]. If this field is empty, none of the arguments could alias; otherwise, every resource argument should have an entry in this field. When instantiated, the unique IDs will be attached to the _Arg nodes' "_resource_arg_unique_id" attribute.
map<uint32, uint32> resource_arg_unique_id = 8;
public FunctionDef.Builder RemoveRet (文字列キー)
A mapping from the output arg names from `signature` to the outputs from `node_def` that should be returned by the function.
map<string, string> ret = 4;
public FunctionDef.Builder setNodeDef (int インデックス、 NodeDef.Builder builderForValue)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder setNodeDef (int インデックス、 NodeDef値)
By convention, "op" in node_def is resolved by consulting with a user-defined library first. If not resolved, "func" is assumed to be a builtin op.
repeated .tensorflow.NodeDef node_def = 3;
public FunctionDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
public FunctionDef.Builder setSignature ( OpDef値)
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public FunctionDef.Builder setSignature ( OpDef.Builder builderForValue)
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;