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 | ||
| ระดับ | 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 |
วิธีการสาธารณะ
| บูลีน | 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. |
| บูลีน | เท่ากับ (วัตถุ obj) |
| แผนที่ <จำนวนเต็ม FunctionDef.ArgAttrs > | getArgAttr () ใช้ getArgAttrMap() แทน |
| ภายใน | getArgAttrCount () map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7; |
| แผนที่ <จำนวนเต็ม 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; |
| แมป<สตริง, AttrValue > | getAttr () ใช้ getAttrMap() แทน |
| ภายใน | getAttrCount () Attributes specific to this function definition. |
| แมป<สตริง, AttrValue > | getAttrMap () Attributes specific to this function definition. |
| AttrValue | getAttrOrDefault (คีย์สตริง AttrValue defaultValue) Attributes specific to this function definition. |
| AttrValue | 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. |
| FunctionDef แบบคงที่ | |
| ฟังก์ชั่นDef | |
| com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย | รับคำอธิบาย () |
| โหนดDef | 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. |
| NodeDefOrBuilder | 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. |
| แมป<จำนวนเต็ม, จำนวนเต็ม> | |
| ภายใน | 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 | รับลายเซ็น () 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 | |
| FunctionDef แบบคงที่ | parseDelimitedFrom (อินพุต InputStream) |
| FunctionDef แบบคงที่ | parseDelimitedFrom (อินพุตสตรีม com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| FunctionDef แบบคงที่ | parseFrom (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| FunctionDef แบบคงที่ | parseFrom (com.google.protobuf.CodedInputStream อินพุต) |
| FunctionDef แบบคงที่ | parseFrom (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| FunctionDef แบบคงที่ | parseFrom (ข้อมูล ByteBuffer) |
| FunctionDef แบบคงที่ | parseFrom (อินพุต com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| FunctionDef แบบคงที่ | parseFrom (ข้อมูล com.google.protobuf.ByteString) |
| FunctionDef แบบคงที่ | parseFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| FunctionDef แบบคงที่ | parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| คงที่ | |
| FunctionDef.Builder | toBuilder () |
| เป็นโมฆะ | 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
วิธีการสาธารณะ
บูลีนสาธารณะ มี ArgAttr (คีย์ int)
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
บูลีนสาธารณะ containsAttr (คีย์สตริง)
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; บูลีนสาธารณะ มีControlRet (คีย์สตริง)
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; บูลีนสาธารณะ ประกอบด้วยResourceArgUniqueId (คีย์ 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; บูลีนสาธารณะ 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; บูลีนสาธารณะ เท่ากับ (Object obj)
int สาธารณะ getArgAttrCount ()
map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
แผนที่สาธารณะ <จำนวนเต็ม 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; แผนที่สาธารณะ <String, AttrValue > getAttrMap ()
Attributes specific to this function definition.
map<string, .tensorflow.AttrValue> attr = 5; 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; แผนที่สาธารณะ <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 ()
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 ()
สาธารณะ 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; แผนที่สาธารณะ <จำนวนเต็ม, จำนวนเต็ม> 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; แผนที่สาธารณะ <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 ()
มีลายเซ็น บูลีนสาธารณะ ()
The definition of the function's name, arguments, return values, attrs etc.
.tensorflow.OpDef signature = 1; สาธารณะ int hashCode ()
บูลีนสุดท้ายสาธารณะ isInitialized ()
สาธารณะ FunctionDef parseDelimitedFrom แบบคงที่ (อินพุตสตรีม, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
สาธารณะ FunctionDef parseFrom แบบคงที่ (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะ FunctionDef parseFrom แบบคงที่ (com.google.protobuf.CodedInputStream อินพุต)
ขว้าง
| IOข้อยกเว้น |
|---|
FunctionDef parseFrom แบบคงที่สาธารณะ (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
FunctionDef แบบคงที่สาธารณะ parseFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
สาธารณะ FunctionDef parseFrom แบบคงที่ (ข้อมูล com.google.protobuf.ByteString)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
FunctionDef แบบคงที่สาธารณะ parseFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| IOข้อยกเว้น |
|---|
FunctionDef แบบคงที่สาธารณะ parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
| ProtocolBufferException ไม่ถูกต้อง |
|---|
สาธารณะคงที่ ตัวแยกวิเคราะห์ ()
โมฆะสาธารณะ writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)
ขว้าง
| IOข้อยกเว้น |
|---|