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.Builder | addAllNodeDef (Iterable<? 확장 NodeDef > 값) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef ( NodeDef 값) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef ( NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addNodeDef (int 인덱스, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | 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 (정수 인덱스) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
함수 정의 | 짓다 () |
함수 정의 | 빌드부분 () |
FunctionDef.Builder | 분명한 () |
FunctionDef.Builder | 클리어ArgAttr () |
FunctionDef.Builder | 클리어 속성 () |
FunctionDef.Builder | 클리어컨트롤Ret () |
FunctionDef.Builder | ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드) |
FunctionDef.Builder | 클리어노드데프 () By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FunctionDef.Builder | |
FunctionDef.Builder | 클리어렛 () |
FunctionDef.Builder | 클리어서명 () The definition of the function's name, arguments, return values, attrs etc. |
FunctionDef.Builder | 클론 () |
부울 | containArgAttr (int 키) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
부울 | containAttr (문자열 키) Attributes specific to this function definition. |
부울 | containControlRet (문자열 키) A mapping from control output names from `signature` to node names in `node_def` which should be control outputs of this function. |
부울 | containResourceArgUniqueId (int 키) Unique IDs for each resource argument, used to track aliasing resources. |
부울 | containRet (문자열 키) 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; |
함수Def.ArgAttrs | getArgAttrOrDefault (int 키, FunctionDef.ArgAttrs defaultValue) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
함수Def.ArgAttrs | getArgAttrOrThrow (정수 키) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
Map<문자열, 속성값 > | getAttr () 대신 getAttrMap() 사용하세요. |
정수 | getAttrCount () Attributes specific to this function definition. |
Map<문자열, 속성값 > | 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<문자열, 속성값 > | getMutableAttr () 대신 대체 돌연변이 접근자를 사용하세요. |
맵<문자열, 문자열> | getMutableControlRet () 대신 대체 돌연변이 접근자를 사용하세요. |
맵<정수, 정수> | getMutableResourceArgUniqueId () 대신 대체 돌연변이 접근자를 사용하세요. |
맵<문자열, 문자열> | getMutableRet () 대신 대체 돌연변이 접근자를 사용하세요. |
NodeDef | getNodeDef (정수 인덱스) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
NodeDef.Builder | getNodeDefBuilder (정수 인덱스) 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. |
NodeDefOrBuilder | getNodeDefOrBuilder (정수 인덱스) 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. |
맵<정수, 정수> | getResourceArgUniqueId () 대신 getResourceArgUniqueIdMap() 사용하세요. |
정수 | getResourceArgUniqueIdCount () Unique IDs for each resource argument, used to track aliasing resources. |
맵<정수, 정수> | getResourceArgUniqueIdMap () Unique IDs for each resource argument, used to track aliasing resources. |
정수 | getResourceArgUniqueIdOrDefault (int 키, int defaultValue) 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. |
OpDef | 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. |
최종 부울 | 초기화됨 () |
FunctionDef.Builder | mergeFrom (com.google.protobuf.다른 메시지 보내기) |
FunctionDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
FunctionDef.Builder | mergeSignature ( OpDef 값) The definition of the function's name, arguments, return values, attrs etc. |
최종 FunctionDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields) |
FunctionDef.Builder | putAllArgAttr (Map<Integer, FunctionDef.ArgAttrs > 값) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
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. |
FunctionDef.Builder | putAllResourceArgUniqueId (Map<Integer, Integer> 값) Unique IDs for each resource argument, used to track aliasing resources. |
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. |
FunctionDef.Builder | putArgAttr (int 키, FunctionDef.ArgAttrs 값) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | |
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. |
FunctionDef.Builder | putResourceArgUniqueId (int 키, int 값) Unique IDs for each resource argument, used to track aliasing resources. |
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. |
FunctionDef.Builder | RemoveArgAttr (정수 키) map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
FunctionDef.Builder | RemoveAttr (문자열 키) Attributes specific to this function definition. |
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. |
FunctionDef.Builder | RemoveNodeDef (int 인덱스) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | RemoveResourceArgUniqueId (int 키) Unique IDs for each resource argument, used to track aliasing resources. |
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. |
FunctionDef.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
FunctionDef.Builder | setNodeDef (int 인덱스, NodeDef.Builder builderForValue) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setNodeDef (int 인덱스, NodeDef 값) By convention, "op" in node_def is resolved by consulting with a user-defined library first. |
FunctionDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값) |
FunctionDef.Builder | |
FunctionDef.Builder | setSignature ( OpDef.Builder builderForValue) The definition of the function's name, arguments, return values, attrs etc. |
최종 FunctionDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
상속된 메서드
공개 방법
public FunctionDef.Builder addAllNodeDef (Iterable<? 확장 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;
공개 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;
공개 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;
공개 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;
공개 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;
공개 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;
공개 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 필드, 개체 값)
공개 FunctionDef.Builder 클리어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;
공개 FunctionDef.Builder ClearSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
공개 부울 containArgAttr (int 키)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
공개 부울 containAttr (문자열 키)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
공개 부울 containControlRet (문자열 키)
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;
공개 부울 containResourceArgUniqueId (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;
공개 부울 containRet (문자열 키)
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;
공개 int 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;
공개 int getAttrCount ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
공용 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;
공개 AttrValue getAttrOrThrow (문자열 키)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
공개 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;
공용 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;
공개 문자열 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;
공개 문자열 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;
공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
공개 Map<String, String> getMutableControlRet ()
대신 대체 돌연변이 접근자를 사용하세요.
공용 Map<Integer, Integer> getMutableResourceArgUniqueId ()
대신 대체 돌연변이 접근자를 사용하세요.
공개 Map<String, String> getMutableRet ()
대신 대체 돌연변이 접근자를 사용하세요.
공개 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;
공개 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;
공개 목록< 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;
공개 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;
공개 목록< 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;
공개 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;
공개 목록<? 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;
공개 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;
공개 맵<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;
공개 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;
공개 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;
공개 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;
공용 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;
공개 문자열 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;
공개 문자열 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;
공개 OpDef getSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
공개 OpDef.Builder getSignatureBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
공개 OpDefOrBuilder getSignatureOrBuilder ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
공개 부울 hasSignature ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
공개 최종 부울 isInitialized ()
공개 FunctionDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공용 FunctionDef.Builder mergeSignature ( OpDef 값)
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
공용 FunctionDef.Builder putAllArgAttr (Map<Integer, FunctionDef.ArgAttrs > 값)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
공용 FunctionDef.Builder putAllAttr (Map<String, AttrValue > 값)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
공용 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;
공용 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;
공용 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;
공개 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;
공개 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;
공개 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;
공개 FunctionDef.Builder RemoveArgAttr (int 키)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
공개 FunctionDef.Builder 제거Attr (문자열 키)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5;
공개 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;
공개 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;
공개 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;
공개 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;
공개 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;
공개 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 인덱스, 개체 값)
공개 FunctionDef.Builder setSignature ( OpDef 값)
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;
공개 FunctionDef.Builder setSignature ( OpDef.Builder builderForValue)
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1;