パブリック最終クラスFunctionDef
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
ネストされたクラス
クラス | FunctionDef.ArgAttrs | Attributes for function arguments. | |
インタフェース | FunctionDef.ArgAttrsOrBuilder | ||
クラス | 関数定義ビルダー | A function can be instantiated when the runtime can bind every attr with a value. |
定数
整数 | ARG_ATTR_FIELD_NUMBER | |
整数 | ATTR_FIELD_NUMBER | |
整数 | CONTROL_RET_FIELD_NUMBER | |
整数 | NODE_DEF_FIELD_NUMBER | |
整数 | RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER | |
整数 | RET_FIELD_NUMBER | |
整数 | SIGNATURE_FIELD_NUMBER |
パブリックメソッド
ブール値 | 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 | |
ノード定義 | getNodeDef (int インデックス) 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. |
OpDefOrBuilder | getSignatureOrBuilder () The definition of the function's name, arguments, return values, attrs etc. |
最終的な com.google.protobuf.UnknownFieldSet | |
ブール値 | 署名あり() The definition of the function's name, arguments, return values, attrs etc. |
整数 | ハッシュコード() |
最終ブール値 | |
静的FunctionDef.Builder | newBuilder () |
静的FunctionDef.Builder | newBuilder ( FunctionDefプロトタイプ) |
関数定義ビルダー | |
静的関数定義 | parseDelimitedFrom (InputStream 入力) |
静的関数定義 | parseDelimitedFrom (InputStream 入力、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 (ByteBuffer データ) |
静的関数定義 | parseFrom (com.google.protobuf.CodedInputStream 入力、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) |
静的 | パーサー() |
関数定義ビルダー | toビルダー() |
空所 | writeTo (com.google.protobuf.CodedOutputStream 出力) |
継承されたメソッド
定数
パブリック静的最終整数ARG_ATTR_FIELD_NUMBER
定数値: 7
パブリック静的最終整数ATTR_FIELD_NUMBER
定数値: 5
パブリック静的最終整数CONTROL_RET_FIELD_NUMBER
定数値: 6
パブリック静的最終整数NODE_DEF_FIELD_NUMBER
定数値: 3
パブリック静的最終整数RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER
定数値: 8
パブリック静的最終整数RET_FIELD_NUMBER
定数値: 4
パブリック静的最終整数SIGNATURE_FIELD_NUMBER
定数値: 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 booleanに等しい(オブジェクト obj)
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 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 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;
公共 getParserForType ()
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 int getSerializedSize ()
public OpDef getSignature ()
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 Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
public int hashCode ()
パブリック最終ブール値isInitialized ()
public static FunctionDef parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static FunctionDef parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static FunctionDef parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static FunctionDef parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static FunctionDef parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static FunctionDef parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
IO例外 |
---|