ApiDef

ApiDef คลาสสุดท้ายสาธารณะ

 Used to specify and override the default API & behavior in the
 generated code for client languages, from what you would get from
 the OpDef alone. There will be a set of ApiDefs that are common
 to all client languages, and another set per client language.
 The per-client-language ApiDefs will inherit values from the
 common ApiDefs which it can either replace or modify.
 We separate the API definition from the OpDef so we can evolve the
 API while remaining backwards compatible when interpretting old
 graphs.  Overrides go in an "api_def.pbtxt" file with a text-format
 ApiDefs message.
 WARNING: Be *very* careful changing the API for any existing op --
 you can change the semantics of existing code.  These changes may
 need to wait until a major release of TensorFlow to avoid breaking
 our compatibility promises.
 
Protobuf ประเภท tensorflow.ApiDef

คลาสที่ซ้อนกัน

ระดับ ApiDef.Arg Protobuf ประเภท tensorflow.ApiDef.Arg
อินเตอร์เฟซ ApiDef.ArgOrBuilder
ระดับ ApiDef.Attr
 Description of the graph-construction-time configuration of this
 Op. 
อินเตอร์เฟซ ApiDef.AttrOrBuilder
ระดับ ApiDef.Builder
 Used to specify and override the default API & behavior in the
 generated code for client languages, from what you would get from
 the OpDef alone. 
ระดับ ApiDef.Endpoint
 If you specify any endpoint, this will replace all of the
 inherited endpoints. 
อินเตอร์เฟซ ApiDef.EndpointOrBuilder
แจกแจง ApiDef การมองเห็น Protobuf enum tensorflow.ApiDef.Visibility

ค่าคงที่

ภายใน ARG_ORDER_FIELD_NUMBER
ภายใน ATTR_FIELD_NUMBER
ภายใน DEPRECATION_MESSAGE_FIELD_NUMBER
ภายใน DEPRECATION_VERSION_FIELD_NUMBER
ภายใน DESCRIPTION_FIELD_NUMBER
ภายใน DESCRIPTION_PREFIX_FIELD_NUMBER
ภายใน DESCRIPTION_SUFFIX_FIELD_NUMBER
ภายใน ENDPOINT_FIELD_NUMBER
ภายใน GRAPH_OP_NAME_FIELD_NUMBER
ภายใน IN_ARG_FIELD_NUMBER
ภายใน OUT_ARG_FIELD_NUMBER
ภายใน SUMMARY_FIELD_NUMBER
ภายใน VISIBILITY_FIELD_NUMBER

วิธีการสาธารณะ

บูลีน
เท่ากับ (วัตถุ obj)
สตริง
getArgOrder (ดัชนี int)
 List of original in_arg names to specify new argument order.
com.google.protobuf.ByteString
getArgOrderBytes (ดัชนี int)
 List of original in_arg names to specify new argument order.
ภายใน
getArgOrderCount ()
 List of original in_arg names to specify new argument order.
com.google.protobuf.ProtocolStringList
getArgOrderList ()
 List of original in_arg names to specify new argument order.
ApiDef.Attr
getAttr (ดัชนี int)
repeated .tensorflow.ApiDef.Attr attr = 6;
ภายใน
getAttrCount ()
repeated .tensorflow.ApiDef.Attr attr = 6;
รายการ < ApiDef.Attr >
getAttrList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.AttrOrBuilder
getAttrOrBuilder (ดัชนี int)
repeated .tensorflow.ApiDef.Attr attr = 6;
รายการ<? ขยาย ApiDef.AttrOrBuilder >
getAttrOrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef แบบคงที่
ApiDef
สตริง
getDeprecationMessage ()
 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
com.google.protobuf.ByteString
getDeprecationMessageBytes ()
 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
ภายใน
getDeprecationVersion ()
 Major version when the op will be deleted.
สตริง
รับคำอธิบาย ()
 Additional, longer human-readable description of what the Op does.
com.google.protobuf.ByteString
getDescriptionBytes ()
 Additional, longer human-readable description of what the Op does.
สตริง
getDescriptionPrefix ()
 Modify an existing/inherited description by adding text to the beginning
 or end.
com.google.protobuf.ByteString
getDescriptionPrefixBytes ()
 Modify an existing/inherited description by adding text to the beginning
 or end.
สตริง
getDescriptionSuffix ()
string description_suffix = 10;
com.google.protobuf.ByteString
getDescriptionSuffixBytes ()
string description_suffix = 10;
com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย
ApiDef.Endpoint
getEndpoint (ดัชนี int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ภายใน
getEndpointCount ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
รายการ < ApiDef.Endpoint >
getEndpointList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.EndpointOrBuilder
getEndpointOrBuilder (ดัชนี int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
รายการ<? ขยาย ApiDef.EndpointOrBuilder >
getEndpointOrBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
สตริง
getGraphOpName ()
 Name of the op (in the OpDef) to specify the API for.
com.google.protobuf.ByteString
รับGraphOpNameBytes ()
 Name of the op (in the OpDef) to specify the API for.
ApiDef.Arg
getInArg (ดัชนี int)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ภายใน
getInArgCount ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
รายการ < ApiDef.Arg >
getInArgList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.ArgOrBuilder
getInArgOrBuilder (ดัชนี int)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
รายการ<? ขยาย ApiDef.ArgOrBuilder >
getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Arg
getOutArg (ดัชนี int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ภายใน
getOutArgCount ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
รายการ < ApiDef.Arg >
getOutArgList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.ArgOrBuilder
getOutArgOrBuilder (ดัชนี int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
รายการ<? ขยาย ApiDef.ArgOrBuilder >
getOutArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ภายใน
สตริง
รับสรุป ()
 One-line human-readable description of what the Op does.
com.google.protobuf.ByteString
รับสรุปไบต์ ()
 One-line human-readable description of what the Op does.
สุดท้าย com.google.protobuf.UnknownFieldSet
ApiDef การมองเห็น
ได้รับการมองเห็น ()
.tensorflow.ApiDef.Visibility visibility = 2;
ภายใน
รับค่าการมองเห็น ()
.tensorflow.ApiDef.Visibility visibility = 2;
ภายใน
บูลีนสุดท้าย
ApiDef.Builder แบบคงที่
ApiDef.Builder แบบคงที่
newBuilder (ต้นแบบ ApiDef )
ApiDef.Builder
ApiDef แบบคงที่
parseDelimitedFrom (อินพุต InputStream)
ApiDef แบบคงที่
parseDelimitedFrom (อินพุตสตรีม com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef แบบคงที่
parseFrom (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef แบบคงที่
parseFrom (com.google.protobuf.CodedInputStream อินพุต)
ApiDef แบบคงที่
parseFrom (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef แบบคงที่
parseFrom (ข้อมูล ByteBuffer)
ApiDef แบบคงที่
parseFrom (อินพุต com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef แบบคงที่
parseFrom (ข้อมูล com.google.protobuf.ByteString)
ApiDef แบบคงที่
parseFrom (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef แบบคงที่
parseFrom (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
คงที่
ApiDef.Builder
เป็นโมฆะ
writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)

วิธีการสืบทอด

ค่าคงที่

สาธารณะคงสุดท้าย int ARG_ORDER_FIELD_NUMBER

ค่าคงที่: 11

int สุดท้ายคงที่สาธารณะ ATTR_FIELD_NUMBER

ค่าคงที่: 6

สาธารณะคงสุดท้าย int DEPRECATION_MESSAGE_FIELD_NUMBER

ค่าคงที่: 12

สาธารณะคงที่ขั้นสุดท้าย int DEPRECATION_VERSION_FIELD_NUMBER

ค่าคงที่: 13

สาธารณะคงที่ขั้นสุดท้าย int DESCRIPTION_FIELD_NUMBER

ค่าคงที่: 8

สาธารณะคงสุดท้าย int DESCRIPTION_PREFIX_FIELD_NUMBER

ค่าคงที่: 9

สาธารณะคงที่ขั้นสุดท้าย int DESCRIPTION_SUFFIX_FIELD_NUMBER

ค่าคงที่: 10

int สุดท้ายคงที่สาธารณะ ENDPOINT_FIELD_NUMBER

ค่าคงที่: 3

รอบชิงชนะเลิศแบบคงที่สาธารณะ GRAPH_OP_NAME_FIELD_NUMBER

ค่าคงที่: 1

int สุดท้ายคงที่สาธารณะ IN_ARG_FIELD_NUMBER

ค่าคงที่: 4

สาธารณะคงสุดท้าย int OUT_ARG_FIELD_NUMBER

ค่าคงที่: 5

รอบชิงชนะเลิศแบบคงที่สาธารณะ int SUMMARY_FIELD_NUMBER

ค่าคงที่: 7

สาธารณะคงสุดท้าย int VISIBILITY_FIELD_NUMBER

ค่าคงที่: 2

วิธีการสาธารณะ

บูลีนสาธารณะ เท่ากับ (Object obj)

สตริงสาธารณะ getArgOrder (ดัชนี int)

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

สาธารณะ com.google.protobuf.ByteString getArgOrderBytes (ดัชนี int)

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

สาธารณะ int getArgOrderCount ()

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

สาธารณะ com.google.protobuf.ProtocolStringList getArgOrderList ()

 List of original in_arg names to specify new argument order.
 Length of arg_order should be either empty to keep current order
 or match size of in_arg.
 
repeated string arg_order = 11;

ApiDef.Attr getAttr สาธารณะ (ดัชนี int)

repeated .tensorflow.ApiDef.Attr attr = 6;

สาธารณะ int getAttrCount ()

repeated .tensorflow.ApiDef.Attr attr = 6;

รายการสาธารณะ < ApiDef.Attr > getAttrList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

ApiDef.AttrOrBuilder สาธารณะ getAttrOrBuilder (ดัชนี int)

repeated .tensorflow.ApiDef.Attr attr = 6;

รายการสาธารณะ<? ขยาย ApiDef.AttrOrBuilder > getAttrOrBuilderList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

ApiDef getDefaultInstance สาธารณะแบบคงที่ ()

ApiDef สาธารณะ getDefaultInstanceForType ()

สตริงสาธารณะ getDeprecationMessage ()

 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
 The message should indicate alternative op to use, if any.
 
string deprecation_message = 12;

สาธารณะ com.google.protobuf.ByteString getDeprecationMessageBytes ()

 If this op is deprecated, set deprecation message to the message
 that should be logged when this op is used.
 The message should indicate alternative op to use, if any.
 
string deprecation_message = 12;

สาธารณะ int getDeprecationVersion ()

 Major version when the op will be deleted. For e.g. set this
 value to 2 if op API should be removed in TensorFlow 2.0 and
 deprecated in versions before that.
 
int32 deprecation_version = 13;

สตริงสาธารณะ getDescription ()

คำอธิบายสตริง

 Additional, longer human-readable description of what the Op does.
 
string description = 8;

สาธารณะ com.google.protobuf.ByteString getDescriptionBytes ()

คำอธิบายสตริง

 Additional, longer human-readable description of what the Op does.
 
string description = 8;

สตริงสาธารณะ getDescriptionPrefix ()

 Modify an existing/inherited description by adding text to the beginning
 or end.
 
string description_prefix = 9;

สาธารณะ com.google.protobuf.ByteString getDescriptionPrefixBytes ()

 Modify an existing/inherited description by adding text to the beginning
 or end.
 
string description_prefix = 9;

สตริงสาธารณะ getDescriptionSuffix ()

string description_suffix = 10;

สาธารณะ com.google.protobuf.ByteString getDescriptionSuffixBytes ()

string description_suffix = 10;

สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()

ApiDef.Endpoint สาธารณะ getEndpoint (ดัชนี int)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

สาธารณะ int getEndpointCount ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

รายการสาธารณะ < ApiDef.Endpoint > getEndpointList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

ApiDef.EndpointOrBuilder สาธารณะ getEndpointOrBuilder (ดัชนี int)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

รายการสาธารณะ<? ขยาย ApiDef.EndpointOrBuilder > getEndpointOrBuilderList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

สตริงสาธารณะ getGraphOpName ()

 Name of the op (in the OpDef) to specify the API for.
 
string graph_op_name = 1;

สาธารณะ com.google.protobuf.ByteString getGraphOpNameBytes ()

 Name of the op (in the OpDef) to specify the API for.
 
string graph_op_name = 1;

ApiDef.Arg สาธารณะ getInArg (ดัชนี int)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

สาธารณะ int getInArgCount ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

รายการสาธารณะ < ApiDef.Arg > getInArgList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

ApiDef.ArgOrBuilder สาธารณะ getInArgOrBuilder (ดัชนี int)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

รายการสาธารณะ<? ขยาย ApiDef.ArgOrBuilder > getInArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

ApiDef.Arg สาธารณะ getOutArg (ดัชนี int)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

สาธารณะ int getOutArgCount ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

รายการสาธารณะ < ApiDef.Arg > getOutArgList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

ApiDef.ArgOrBuilder สาธารณะ getOutArgOrBuilder (ดัชนี int)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

รายการสาธารณะ<? ขยาย ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

สาธารณะ getParserForType ()

สาธารณะ int getSerializedSize ()

สตริงสาธารณะ getSummary ()

สรุปสตริง

 One-line human-readable description of what the Op does.
 
string summary = 7;

สาธารณะ com.google.protobuf.ByteString getSummaryBytes ()

สรุปสตริง

 One-line human-readable description of what the Op does.
 
string summary = 7;

สาธารณะสุดท้าย com.google.protobuf.UnknownFieldSet getUnknownFields ()

ApiDef.Visibility สาธารณะ getVisibility ()

.tensorflow.ApiDef.Visibility visibility = 2;

สาธารณะ int getVisibilityValue ()

.tensorflow.ApiDef.Visibility visibility = 2;

สาธารณะ int hashCode ()

บูลีนสุดท้ายสาธารณะ isInitialized ()

ApiDef.Builder สาธารณะแบบคงที่ newBuilder ()

ApiDef.Builder สาธารณะแบบคงที่ newBuilder (ต้นแบบ ApiDef )

ApiDef.Builder สาธารณะ newBuilderForType ()

ApiDef แบบคงที่สาธารณะ parseDelimitedFrom (อินพุต InputStream)

ขว้าง
IOข้อยกเว้น

ApiDef แบบคงที่สาธารณะ parseDelimitedFrom (อินพุตสตรีม, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

ApiDef parseFrom แบบคงที่สาธารณะ (ข้อมูล ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

ApiDef parseFrom คงที่สาธารณะ (อินพุต com.google.protobuf.CodedInputStream)

ขว้าง
IOข้อยกเว้น

ApiDef parseFrom แบบคงที่สาธารณะ (ข้อมูลไบต์ [], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

ApiDef parseFrom แบบคงที่สาธารณะ (ข้อมูล ByteBuffer)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

ApiDef parseFrom แบบคงที่สาธารณะ (อินพุต com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

ApiDef parseFrom คงที่สาธารณะ (ข้อมูล com.google.protobuf.ByteString)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

ApiDef parseFrom แบบคงที่สาธารณะ (อินพุต InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

ApiDef parseFrom แบบคงที่สาธารณะ (ข้อมูล com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
ProtocolBufferException ไม่ถูกต้อง

สาธารณะคงที่ ตัวแยกวิเคราะห์ ()

ApiDef.Builder สาธารณะ ถึง Builder ()

โมฆะสาธารณะ writeTo (com.google.protobuf.CodedOutputStream เอาต์พุต)

ขว้าง
IOข้อยกเว้น