FunctionDef

공개 최종 클래스 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.
 
Protobuf 유형 tensorflow.FunctionDef

중첩 클래스

수업 함수Def.ArgAttrs
 Attributes for function arguments. 
인터페이스 FunctionDef.ArgAttrsOrBuilder
수업 FunctionDef.Builder
 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

공개 방법

부울
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.
속성값
getAttrOrDefault (문자열 키, AttrValue defaultValue)
 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
NodeDef
getNodeDef (정수 인덱스)
 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.
맵<정수, 정수>
정수
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.
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
정적 FunctionDef.Builder
newBuilder ( FunctionDef 프로토타입)
FunctionDef.Builder
정적 함수 정의
parsDelimitedFrom (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 확장Registry)
정적 함수 정의
parsFrom (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)
공전
파서 ()
FunctionDef.Builder
무효의
writeTo (com.google.protobuf.CodedOutputStream 출력)

상속된 메서드

상수

공개 정적 최종 int ARG_ATTR_FIELD_NUMBER

상수값: 7

공개 정적 최종 int ATTR_FIELD_NUMBER

상수값: 5

공개 정적 최종 int CONTROL_RET_FIELD_NUMBER

상수값: 6

공개 정적 최종 int NODE_DEF_FIELD_NUMBER

상수값: 3

공개 정적 최종 int RESOURCE_ARG_UNIQUE_ID_FIELD_NUMBER

상수값: 8

공개 정적 최종 int RET_FIELD_NUMBER

상수값: 4

공개 정적 최종 int SIGNATURE_FIELD_NUMBER

상수값: 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;

공개 부울은 (객체 obj) 와 같습니다 .

공용 Map<Integer, FunctionDef.ArgAttrs > getArgAttr ()

대신 getArgAttrMap() 사용하세요.

공개 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;

공개 Map<String, AttrValue > getAttr ()

대신 getAttrMap() 사용하세요.

공개 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;

공용 Map<String, String> getControlRet ()

대신 getControlRetMap() 사용하세요.

공개 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;

공개 정적 FunctionDef getDefaultInstance ()

공개 FunctionDef getDefaultInstanceForType ()

공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()

공개 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;

공개 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;

공공의 getParserForType ()

공용 Map<Integer, Integer> getResourceArgUniqueId ()

대신 getResourceArgUniqueIdMap() 사용하세요.

공개 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;

공개 Map<String, String> getRet ()

대신 getRetMap() 사용하세요.

공개 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;

공개 int getSerializedSize ()

공개 OpDef getSignature ()

 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;

공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()

공개 부울 hasSignature ()

 The definition of the function's name, arguments, return values,
 attrs etc.
 
.tensorflow.OpDef signature = 1;

공개 int hashCode ()

공개 최종 부울 isInitialized ()

공개 정적 FunctionDef.Builder newBuilder ()

공개 정적 FunctionDef.Builder newBuilder ( FunctionDef 프로토타입)

공개 FunctionDef.Builder newBuilderForType ()

공개 정적 FunctionDefparseDelimitedFrom ( InputStream 입력)

던지기
IO예외

공개 정적 FunctionDefparseDelimitedFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 FunctionDef 구문 분석 (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 FunctionDef parsFrom (com.google.protobuf.CodedInputStream 입력)

던지기
IO예외

공개 정적 FunctionDef parsFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 FunctionDef 구문 분석 (ByteBuffer 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 FunctionDef parsFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 FunctionDef parsFrom (com.google.protobuf.ByteString 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 FunctionDef parsFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 FunctionDef parsFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 파서 ()

공개 FunctionDef.Builder toBuilder ()

공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)

던지기
IO예외