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
enum ApiDef.Visibility 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

روش های عمومی

بولی
برابر است (object 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.
رشته
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.
رشته
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.
رشته
پسوند getDescription ()
string description_suffix = 10;
com.google.protobuf.ByteString
getDescriptionSuffixBytes ()
string description_suffix = 10;
نهایی static 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 index)
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
getGraphOpNameBytes ()
 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 index)
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
getSummaryBytes ()
 One-line human-readable description of what the Op does.
com.google.protobuf.UnknownFieldSet نهایی
ApiDef.Visibility
getVisibility ()
.tensorflow.ApiDef.Visibility visibility = 2;
بین المللی
getVisibilityValue ()
.tensorflow.ApiDef.Visibility visibility = 2;
بین المللی
بولی نهایی
استاتیک ApiDef.Builder
استاتیک ApiDef.Builder
newBuilder (نمونه اولیه ApiDef )
ApiDef.Builder
ApiDef ایستا
parseDelimitedFrom (ورودی جریان ورودی)
ApiDef ایستا
parseDelimitedFrom (ورودی InputStream، 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)

روش های ارثی

ثابت ها

نهایی استاتیک عمومی ARG_ORDER_FIELD_NUMBER

ارزش ثابت: 11

نهایی استاتیک عمومی ATTR_FIELD_NUMBER

مقدار ثابت: 6

نهایی استاتیک عمومی DEPRECATION_MESSAGE_FIELD_NUMBER

ارزش ثابت: 12

نهایی استاتیک عمومی DEPRECATION_VERSION_FIELD_NUMBER

ارزش ثابت: 13

نهایی استاتیک عمومی DESCRIPTION_FIELD_NUMBER

مقدار ثابت: 8

نهایی استاتیک عمومی DESCRIPTION_PREFIX_FIELD_NUMBER

مقدار ثابت: 9

نهایی استاتیک عمومی DESCRIPTION_SUFFIX_FIELD_NUMBER

ارزش ثابت: 10

نهایی استاتیک عمومی ENDPOINT_FIELD_NUMBER

مقدار ثابت: 3

GRAPH_OP_NAME_FIELD_NUMBER نهایی استاتیک عمومی

ارزش ثابت: 1

نهایی استاتیک عمومی IN_ARG_FIELD_NUMBER

ارزش ثابت: 4

نهایی استاتیک عمومی OUT_ARG_FIELD_NUMBER

ارزش ثابت: 5

نهایی استاتیک عمومی SUMMARY_FIELD_NUMBER

ارزش ثابت: 7

نهایی استاتیک عمومی 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;

public com.google.protobuf.ByteString getArgOrderBytes (int index)

 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 index)

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 ()

string description = 8;

 Additional, longer human-readable description of what the Op does.
 
= 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;

public static final 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 index)

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;

public 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 index)

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 index)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

لیست عمومی<? گسترش ApiDef.ArgOrBuilder > getInArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

عمومی ApiDef.Arg getOutArg (int index)

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 index)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

لیست عمومی<? گسترش ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

عمومی getParserForType ()

عمومی int getSerializedSize ()

رشته عمومی getSummary ()

string summary = 7;

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

عمومی com.google.protobuf.ByteString getSummaryBytes ()

string summary = 7;

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

عمومی نهایی com.google.protobuf.UnknownFieldSet getUnknownFields ()

عمومی ApiDef.Visibility getVisibility ()

.tensorflow.ApiDef.Visibility visibility = 2;

عمومی int getVisibilityValue ()

.tensorflow.ApiDef.Visibility visibility = 2;

هش کد عمومی ()

بولین نهایی عمومی isInitialized ()

عمومی استاتیک ApiDef.Builder newBuilder ()

عمومی استاتیک ApiDef.Builder newBuilder (نمونه اولیه ApiDef )

عمومی ApiDef.Builder newBuilderForType ()

عمومی استاتیک ApiDef parseDelimitedFrom (ورودی جریان ورودی)

پرتاب می کند
IOException

عمومی استاتیک ApiDef parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک ApiDef parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک ApiDef parseFrom (ورودی com.google.protobuf.CodedInputStream)

پرتاب می کند
IOException

عمومی استاتیک ApiDef parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک ApiDef parseFrom (داده ByteBuffer)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک ApiDef parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک ApiDef parseFrom (داده های com.google.protobuf.ByteString)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک ApiDef parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک ApiDef parseFrom (داده های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

استاتیک عمومی تجزیه کننده ()

عمومی ApiDef.Builder toBuilder ()

public void writeTo (خروجی com.google.protobuf.CodedOutputStream)

پرتاب می کند
IOException