ApiDef

lớp cuối cùng công khai 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.
 
Tenorflow loại tensorflow.ApiDef

Các lớp lồng nhau

lớp học ApiDef.Arg Protobuf loại tensorflow.ApiDef.Arg
giao diện ApiDef.ArgOrBuilder
lớp học ApiDef.Attr
 Description of the graph-construction-time configuration of this
 Op. 
giao diện ApiDef.AttrOrBuilder
lớp học 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. 
lớp học ApiDef.Endpoint
 If you specify any endpoint, this will replace all of the
 inherited endpoints. 
giao diện ApiDef.EndpointOrBuilder
liệt kê ApiDef.Visibility Protobuf enum tensorflow.ApiDef.Visibility

Hằng số

int ARG_ORDER_FIELD_NUMBER
int ATTR_FIELD_NUMBER
int DEPRECATION_MESSAGE_FIELD_NUMBER
int DEPRECATION_VERSION_FIELD_NUMBER
int DESCRIPTION_FIELD_NUMBER
int DESCRIPTION_PREFIX_FIELD_NUMBER
int DESCRIPTION_SUFFIX_FIELD_NUMBER
int ENDPOINT_FIELD_NUMBER
int GRAPH_OP_NAME_FIELD_NUMBER
int IN_ARG_FIELD_NUMBER
int OUT_ARG_FIELD_NUMBER
int TÓM TẮT_FIELD_NUMBER
int VISIBILITY_FIELD_NUMBER

Phương pháp công cộng

boolean
bằng (Đối tượng obj)
Sợi dây
getArgOrder (chỉ mục int)
 List of original in_arg names to specify new argument order.
com.google.protobuf.ByteString
getArgOrderBytes (chỉ mục int)
 List of original in_arg names to specify new argument order.
int
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 (chỉ số int)
repeated .tensorflow.ApiDef.Attr attr = 6;
int
getAttrCount ()
repeated .tensorflow.ApiDef.Attr attr = 6;
Danh sách< ApiDef.Attr >
getAttrList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.AttrOrBuilder
getAttrOrBuilder (chỉ mục int)
repeated .tensorflow.ApiDef.Attr attr = 6;
Danh sách<? mở rộng ApiDef.AttrOrBuilder >
getAttrOrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef tĩnh
APIDef
Sợi dây
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.
int
getDeprecationVersion ()
 Major version when the op will be deleted.
Sợi dây
getDescription ()
 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.
Sợi dây
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.
Sợi dây
getDescriptionSuffix ()
string description_suffix = 10;
com.google.protobuf.ByteString
getDescriptionSuffixBytes ()
string description_suffix = 10;
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
ApiDef.Endpoint
getEndpoint (chỉ số int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
int
getEndpointCount ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Danh sách< ApiDef.Endpoint >
getEndpointList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.EndpointOrBuilder
getEndpointOrBuilder (chỉ mục int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Danh sách<? mở rộng ApiDef.EndpointOrBuilder >
getEndpointOrBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Sợi dây
getGraphOpName ()
 Name of the op (in the OpDef) to specify the API for.
com.google.protobuf.ByteString
getGraphOpNameBytes ()
 Name of the op (in the OpDef) to specify the API for.
ApiDef.Arg
getInArg (chỉ số int)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
int
getInArgCount ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Danh sách< ApiDef.Arg >
getInArgList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.ArgOrBuilder
getInArgOrBuilder (chỉ mục int)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Danh sách<? mở rộng ApiDef.ArgOrBuilder >
getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Arg
getOutArg (chỉ số int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
int
getOutArgCount ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Danh sách< ApiDef.Arg >
getOutArgList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.ArgOrBuilder
getOutArgOrBuilder (chỉ mục int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Danh sách<? mở rộng ApiDef.ArgOrBuilder >
getOutArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
int
Sợi dây
lấy Tóm tắt ()
 One-line human-readable description of what the Op does.
com.google.protobuf.ByteString
getSummaryBytes ()
 One-line human-readable description of what the Op does.
com.google.protobuf.UnknownFieldSet cuối cùng
ApiDef.Visibility
getVisibility ()
.tensorflow.ApiDef.Visibility visibility = 2;
int
getVisibilityValue ()
.tensorflow.ApiDef.Visibility visibility = 2;
int
boolean cuối cùng
ApiDef.Builder tĩnh
ApiDef.Builder tĩnh
newBuilder ( nguyên mẫu ApiDef )
ApiDef.Builder
ApiDef tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)
ApiDef tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry)
ApiDef tĩnh
ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ApiDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream)
ApiDef tĩnh
ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ApiDef tĩnh
ParseFrom (dữ liệu ByteBuffer)
ApiDef tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ApiDef tĩnh
ParseFrom (dữ liệu com.google.protobuf.ByteString)
ApiDef tĩnh
ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ApiDef tĩnh
ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
tĩnh
ApiDef.Builder
trống rỗng
writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Phương pháp kế thừa

Hằng số

int tĩnh công khai ARG_ORDER_FIELD_NUMBER

Giá trị không đổi: 11

int tĩnh công khai ATTR_FIELD_NUMBER

Giá trị không đổi: 6

int tĩnh công khai DEPRECATION_MESSAGE_FIELD_NUMBER

Giá trị không đổi: 12

int tĩnh công khai DEPRECATION_VERSION_FIELD_NUMBER

Giá trị không đổi: 13

int cuối cùng tĩnh công khai DESCRIPTION_FIELD_NUMBER

Giá trị không đổi: 8

int cuối cùng tĩnh công khai DESCRIPTION_PREFIX_FIELD_NUMBER

Giá trị không đổi: 9

int cuối cùng tĩnh công khai DESCRIPTION_SUFFIX_FIELD_NUMBER

Giá trị không đổi: 10

int cuối cùng tĩnh công khai ENDPOINT_FIELD_NUMBER

Giá trị không đổi: 3

int cuối cùng tĩnh công khai GRAPH_OP_NAME_FIELD_NUMBER

Giá trị không đổi: 1

int tĩnh cuối cùng IN_ARG_FIELD_NUMBER

Giá trị không đổi: 4

int tĩnh cuối cùng OUT_ARG_FIELD_NUMBER

Giá trị không đổi: 5

int cuối cùng tĩnh công khai SUMMARY_FIELD_NUMBER

Giá trị không đổi: 7

int tĩnh cuối cùng VISIBILITY_FIELD_NUMBER

Giá trị không đổi: 2

Phương pháp công cộng

boolean công khai bằng (Object obj)

Chuỗi công khai getArgOrder (chỉ mục 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;

công khai com.google.protobuf.ByteString getArgOrderBytes (chỉ mục 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 công khai 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 công khai 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 công khai getAttr (chỉ mục int)

repeated .tensorflow.ApiDef.Attr attr = 6;

int công khai getAttrCount ()

repeated .tensorflow.ApiDef.Attr attr = 6;

Danh sách công khai< ApiDef.Attr > getAttrList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

ApiDef.AttrOrBuilder công khai getAttrOrBuilder (chỉ mục int)

repeated .tensorflow.ApiDef.Attr attr = 6;

Danh sách công khai<? mở rộng ApiDef.AttrOrBuilder > getAttrOrBuilderList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

ApiDef tĩnh công khai getDefaultInstance ()

ApiDef công khai getDefaultInstanceForType ()

Chuỗi công khai 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 () công khai

chuỗi

 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 công khai 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;

Chuỗi công khai getDescription ()

mô tả chuỗi

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

com.google.protobuf.ByteString getDescriptionBytes công khai ()

mô tả chuỗi

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

Chuỗi công khai getDescriptionPrefix ()

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

com.google.protobuf.ByteString getDescriptionPrefixBytes công khai ()

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

Chuỗi công khai getDescriptionSuffix ()

string description_suffix = 10;

com.google.protobuf.ByteString getDescriptionSuffixBytes công khai ()

string description_suffix = 10;

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

ApiDef.Endpoint công khai getEndpoint (chỉ mục int)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

int công khai getEndpointCount ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

Danh sách công khai< ApiDef.Endpoint > getEndpointList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

ApiDef.EndpointOrBuilder công khai getEndpointOrBuilder (chỉ mục int)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

Danh sách công khai<? mở rộng ApiDef.EndpointOrBuilder > getEndpointOrBuilderList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

Chuỗi công khai getGraphOpName ()

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

com.google.protobuf.ByteString công khai getGraphOpNameBytes ()

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

ApiDef.Arg công khai getInArg (chỉ mục int)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

int công khai getInArgCount ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

Danh sách công khai< ApiDef.Arg > getInArgList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

ApiDef.ArgOrBuilder công khai getInArgOrBuilder (chỉ mục int)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

Danh sách công khai<? mở rộng ApiDef.ArgOrBuilder > getInArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

ApiDef.Arg công khai getOutArg (chỉ mục int)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

int công khai getOutArgCount ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

Danh sách công khai< ApiDef.Arg > getOutArgList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

ApiDef.ArgOrBuilder công khai getOutArgOrBuilder (chỉ mục int)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

Danh sách công khai<? mở rộng ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

công cộng getParserForType ()

int công khai getSerializedSize ()

Chuỗi công khai getSummary ()

tóm tắt chuỗi

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

com.google.protobuf.ByteString getSummaryBytes công khai ()

tóm tắt chuỗi

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

trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()

ApiDef.Visibility getVisibility công khai ()

.tensorflow.ApiDef.Visibility visibility = 2;

int công khai getVisibilityValue ()

.tensorflow.ApiDef.Visibility visibility = 2;

mã băm int công khai ()

boolean cuối cùng công khai được khởi tạo ()

ApiDef.Builder tĩnh công khai newBuilder ()

public static ApiDef.Builder newBuilder (nguyên mẫu ApiDef )

ApiDef.Builder công khai newBuilderForType ()

ApiDef phân tích cú pháp tĩnh công khaiDelimitedFrom (Đầu vào luồng đầu vào)

Ném
IOException

phân tích cú pháp ApiDef tĩnh công khaiDelimitedFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích ApiDef tĩnh công khaiTừ (dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

Phân tích cú pháp ApiDef tĩnh công khaiFrom (đầu vào com.google.protobuf.CodedInputStream)

Ném
IOException

phân tích cú pháp ApiDef tĩnh công khaiTừ (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

phân tích ApiDef tĩnh công khaiFrom (dữ liệu ByteBuffer)

Ném
Giao thức đệm ngoại lệ không hợp lệ

phân tích cú pháp ApiDef tĩnh công khaiFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích ApiDef tĩnh công khaiFrom (dữ liệu com.google.protobuf.ByteString)

Ném
Giao thức đệm ngoại lệ không hợp lệ

phân tích cú pháp ApiDef tĩnh công khaiFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp ApiDef tĩnh công khaiFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

công cộng tĩnh trình phân tích cú pháp ()

ApiDef.Builder công khai toBuilder ()

public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Ném
IOException