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.Builder | addAllArgOrder (ค่า <String> ที่สามารถทำซ้ำได้) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAllEndpoint (Iterable<? ขยาย ApiDef.Endpoint > ค่า) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | addArgOrder (ค่าสตริง) List of original in_arg names to specify new argument order. |
ApiDef.Builder | addArgOrderBytes (ค่า com.google.protobuf.ByteString) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Attr.Builder | addAttrBuilder () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | addAttrBuilder (ดัชนี int) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | addEndpoint (ดัชนี int, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | addEndpoint ( ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Endpoint.Builder | addEndpointBuilder (ดัชนี int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | addEndpointBuilder () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | addInArg (ดัชนี int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Arg.Builder | addInArgBuilder (ดัชนี int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg.Builder | addInArgBuilder () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | addOutArg (ดัชนี int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | |
ApiDef.Arg.Builder | addOutArgBuilder () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Arg.Builder | addOutArgBuilder (ดัชนี int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor ช่อง ค่าอ็อบเจ็กต์) |
ApiDef | สร้าง () |
ApiDef | สร้างบางส่วน () |
ApiDef.Builder | ชัดเจน () |
ApiDef.Builder | clearArgOrder () List of original in_arg names to specify new argument order. |
ApiDef.Builder | clearAttr () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | clearDeprecationMessage () If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | clearDeprecationVersion () Major version when the op will be deleted. |
ApiDef.Builder | ชัดเจนคำอธิบาย () Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | clearDescriptionPrefix () Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | clearDescriptionSuffix () string description_suffix = 10; |
ApiDef.Builder | clearEndpoint () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | clearField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Builder | clearGraphOpName () Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | เคลียร์อินอาร์ก () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Builder | clearOutArg () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | สรุปที่ชัดเจน () One-line human-readable description of what the Op does. |
ApiDef.Builder | การมองเห็นที่ชัดเจน () .tensorflow.ApiDef.Visibility visibility = 2; |
ApiDef.Builder | โคลน () |
สตริง | 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; |
ApiDef.Attr.Builder | getAttrBuilder (ดัชนี int) repeated .tensorflow.ApiDef.Attr attr = 6; |
รายการ < ApiDef.Attr.Builder > | getAttrBuilderList () 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 | |
สตริง | 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 | รับคำอธิบายไบต์ () 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 แบบคงที่ขั้นสุดท้าย | รับคำอธิบาย () |
com.google.protobuf.Descriptors.Descriptor | |
ApiDef.Endpoint | getEndpoint (ดัชนี int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | getEndpointBuilder (ดัชนี int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
รายการ < ApiDef.Endpoint.Builder > | getEndpointBuilderList () 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; |
ApiDef.Arg.Builder | getInArgBuilder (ดัชนี int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
รายการ < ApiDef.Arg.Builder > | getInArgBuilderList () 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; |
ApiDef.Arg.Builder | getOutArgBuilder (ดัชนี int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
รายการ < ApiDef.Arg.Builder > | getOutArgBuilderList () 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. |
ApiDef การมองเห็น | ได้รับการมองเห็น () .tensorflow.ApiDef.Visibility visibility = 2; |
ภายใน | รับค่าการมองเห็น () .tensorflow.ApiDef.Visibility visibility = 2; |
บูลีนสุดท้าย | |
ApiDef.Builder | mergeFrom (com.google.protobuf.ข้อความ อื่น ๆ ) |
ApiDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Builder สุดท้าย | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ApiDef.Builder | RemoveAttr (ดัชนี int) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | RemoveEndpoint (ดัชนี int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | RemoveInArg (ดัชนี int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | RemoveOutArg (ดัชนี int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setArgOrder (ดัชนี int, ค่าสตริง) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | setDeprecationMessage (ค่าสตริง) If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | setDeprecationMessageBytes (ค่า com.google.protobuf.ByteString) If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | setDeprecationVersion (ค่า int) Major version when the op will be deleted. |
ApiDef.Builder | setDescription (ค่าสตริง) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionBytes (ค่า com.google.protobuf.ByteString) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionPrefix (ค่าสตริง) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionPrefixBytes (ค่า com.google.protobuf.ByteString) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionSuffix (ค่าสตริง) string description_suffix = 10; |
ApiDef.Builder | setDescriptionSuffixBytes (ค่า com.google.protobuf.ByteString) string description_suffix = 10; |
ApiDef.Builder | |
ApiDef.Builder | setEndpoint (ดัชนี int, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | setField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์) |
ApiDef.Builder | setGraphOpName (ค่าสตริง) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | setGraphOpNameBytes (ค่า com.google.protobuf.ByteString) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | |
ApiDef.Builder | setInArg (ดัชนี int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | setOutArg (ดัชนี int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor, ดัชนี int, ค่าอ็อบเจ็กต์) |
ApiDef.Builder | setSummary (ค่าสตริง) One-line human-readable description of what the Op does. |
ApiDef.Builder | setSummaryBytes (ค่า com.google.protobuf.ByteString) One-line human-readable description of what the Op does. |
ApiDef.Builder สุดท้าย | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ApiDef.Builder | |
ApiDef.Builder | setVisibilityValue (ค่า int) .tensorflow.ApiDef.Visibility visibility = 2; |
วิธีการสืบทอด
วิธีการสาธารณะ
ApiDef.Builder สาธารณะ addAllArgOrder (ค่า Iterable <String>)
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.Builder สาธารณะ addAllAttr (Iterable <? ขยาย ApiDef.Attr > ค่า)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder สาธารณะ addAllEndpoint (Iterable <? ขยาย ApiDef.Endpoint > ค่า)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder สาธารณะ addAllInArg (Iterable<? ขยาย ApiDef.Arg > ค่า)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder สาธารณะ addAllOutArg (Iterable <? ขยาย ApiDef.Arg > ค่า)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder สาธารณะ addArgOrder (ค่าสตริง)
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.Builder สาธารณะ addArgOrderBytes (ค่า com.google.protobuf.ByteString)
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.Builder addAttr สาธารณะ (ดัชนี int, ค่า ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder addAttr สาธารณะ (ดัชนี int, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder addAttr สาธารณะ ( ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder addEndpoint สาธารณะ (ดัชนี int, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder addEndpoint สาธารณะ (ดัชนี int, ค่า ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder สาธารณะ addEndpoint ( ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder addEndpoint สาธารณะ (ค่า ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Endpoint.Builder สาธารณะ addEndpointBuilder (ดัชนี int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Endpoint.Builder สาธารณะ addEndpointBuilder ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder สาธารณะ addInArg (ดัชนี int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder สาธารณะ addInArg ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder สาธารณะ addInArg (ดัชนี int, ค่า ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder สาธารณะ addOutArg (ดัชนี int, ค่า ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder สาธารณะ addOutArg (ดัชนี int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder สาธารณะ addOutArg ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Arg.Builder สาธารณะ addOutArgBuilder (ดัชนี int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder สาธารณะ addRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)
ApiDef.Builder สาธารณะ clearArgOrder ()
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.Builder สาธารณะ clearDeprecationMessage ()
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;
ApiDef.Builder สาธารณะ clearDeprecationVersion ()
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;
ApiDef.Builder สาธารณะ clearDescription ()
Additional, longer human-readable description of what the Op does.
string description = 8;
ApiDef.Builder สาธารณะ clearDescriptionPrefix ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
ApiDef.Builder สาธารณะ clearGraphOpName ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
ApiDef.Builder สาธารณะ clearSummary ()
One-line human-readable description of what the Op does.
string summary = 7;
สตริงสาธารณะ 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.Builder > getAttrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
สาธารณะ int getAttrCount ()
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;
สตริงสาธารณะ 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 ()
สาธารณะ com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
ApiDef.Endpoint.Builder สาธารณะ getEndpointBuilder (ดัชนี int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
รายการสาธารณะ < ApiDef.Endpoint.Builder > getEndpointBuilderList ()
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.Builder > getInArgBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
สาธารณะ int getInArgCount ()
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.Builder สาธารณะ getOutArgBuilder (ดัชนี int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
รายการสาธารณะ < ApiDef.Arg.Builder > getOutArgBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
สาธารณะ int getOutArgCount ()
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;
สตริงสาธารณะ 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;
สาธารณะ int getVisibilityValue ()
.tensorflow.ApiDef.Visibility visibility = 2;
บูลีนสุดท้ายสาธารณะ isInitialized ()
ApiDef.Builder สาธารณะ ผสานจาก (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
IOข้อยกเว้น |
---|
ApiDef.Builder สาธารณะ RemoveEndpoint (ดัชนี int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder สาธารณะ setArgOrder (ดัชนี 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;
ApiDef.Builder setAttr สาธารณะ (ดัชนี int, ค่า ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder สาธารณะ setAttr (ดัชนี int, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder สาธารณะ setDeprecationMessage (ค่าสตริง)
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;
ApiDef.Builder สาธารณะ setDeprecationMessageBytes (ค่า com.google.protobuf.ByteString)
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;
ApiDef.Builder สาธารณะ setDeprecationVersion (ค่า int)
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;
ApiDef.Builder setDescription สาธารณะ (ค่าสตริง)
Additional, longer human-readable description of what the Op does.
string description = 8;
ApiDef.Builder สาธารณะ setDescriptionBytes (ค่า com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 8;
ApiDef.Builder สาธารณะ setDescriptionPrefix (ค่าสตริง)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
ApiDef.Builder สาธารณะ setDescriptionPrefixBytes (ค่า com.google.protobuf.ByteString)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
ApiDef.Builder สาธารณะ setDescriptionSuffixBytes (ค่า com.google.protobuf.ByteString)
string description_suffix = 10;
ApiDef.Builder setEndpoint สาธารณะ (ดัชนี int, ค่า ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder setEndpoint สาธารณะ (ดัชนี int, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder setField สาธารณะ (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)
ApiDef.Builder สาธารณะ setGraphOpName (ค่าสตริง)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
ApiDef.Builder สาธารณะ setGraphOpNameBytes (ค่า com.google.protobuf.ByteString)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
ApiDef.Builder สาธารณะ setInArg (ดัชนี int, ค่า ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder สาธารณะ setInArg (ดัชนี int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder สาธารณะ setOutArg (ดัชนี int, ค่า ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder สาธารณะ setOutArg (ดัชนี int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder สาธารณะ setRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor, ดัชนี int, ค่าอ็อบเจ็กต์)
ApiDef.Builder สาธารณะ setSummary (ค่าสตริง)
One-line human-readable description of what the Op does.
string summary = 7;
ApiDef.Builder สาธารณะ setSummaryBytes (ค่า com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 7;
ApiDef.Builder setVisibility สาธารณะ (ค่า ApiDef.Visibility )
.tensorflow.ApiDef.Visibility visibility = 2;