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
сорт АпиДеф.Аттр
 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. 
сорт АпиДеф.Конечная точка
 If you specify any endpoint, this will replace all of the
 inherited endpoints. 
интерфейс АпиDef.EndpointOrBuilder
перечисление 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

Публичные методы

логическое значение
равно (Объект obj)
Нить
getArgOrder (целочисленный индекс)
 List of original in_arg names to specify new argument order.
com.google.protobuf.ByteString
getArgOrderBytes (индекс целого числа)
 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.
АпиДеф.Аттр
getAttr (целевой индекс)
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 (индекс целого числа)
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
АпиДеф.Конечная точка
getEndpoint (целочисленный индекс)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
интервал
getEndpointCount ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Список< ApiDef.Endpoint >
getEndpointList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
АпиDef.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
getGraphOpNameBytes ()
 Name of the op (in the OpDef) to specify the API for.
ApiDef.Arg
getInArg (целочисленный индекс)
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 (индекс целого числа)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Список<? расширяет ApiDef.ArgOrBuilder >
getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Arg
getOutArg (целочисленный индекс)
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 (индекс целого числа)
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
получитьВидимость ()
.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 (данные byte[], 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 (ввод входного потока, 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

общедоступный статический окончательный int 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;

public 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;

public 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;

public ApiDef.Attr getAttr (индекс int)

repeated .tensorflow.ApiDef.Attr attr = 6;

public int getAttrCount ()

repeated .tensorflow.ApiDef.Attr attr = 6;

общедоступный список < ApiDef.Attr > getAttrList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

public 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;

public 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;

public 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;

public 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;

public 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;

public com.google.protobuf.ByteString getDescriptionSuffixBytes ()

string description_suffix = 10;

общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public ApiDef.Endpoint getEndpoint (индекс int)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public int getEndpointCount ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

общедоступный список < ApiDef.Endpoint > getEndpointList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public 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;

public com.google.protobuf.ByteString getGraphOpNameBytes ()

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

public ApiDef.Arg getInArg (индекс int)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public int getInArgCount ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

общедоступный список < ApiDef.Arg > getInArgList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.ArgOrBuilder getInArgOrBuilder (индекс int)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

общедоступный список<? расширяет ApiDef.ArgOrBuilder > getInArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Arg getOutArg (индекс int)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public int getOutArgCount ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

общедоступный список < ApiDef.Arg > getOutArgList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.ArgOrBuilder getOutArgOrBuilder (индекс int)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

общедоступный список<? расширяет ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

общественный getParserForType ()

public int getSerializedSize ()

публичная строка getSummary ()

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

public com.google.protobuf.ByteString getSummaryBytes ()

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

публичный финал com.google.protobuf.UnknownFieldSet getUnknownFields ()

public ApiDef.Visibility getVisibility ()

.tensorflow.ApiDef.Visibility visibility = 2;

public int getVisibilityValue ()

.tensorflow.ApiDef.Visibility visibility = 2;

public int hashCode ()

публичное финальное логическое значение isInitialized ()

общедоступный статический ApiDef.Builder newBuilder ()

общедоступный статический ApiDef.Builder newBuilder (прототип ApiDef )

общедоступный ApiDef.Builder newBuilderForType ()

общедоступный статический ApiDef parseDelimitedFrom (входной поток InputStream)

Броски
Исключение IO

общедоступный статический ApiDef parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный статический ApiDef parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический анализ ApiDef (вход com.google.protobuf.CodedInputStream)

Броски
Исключение IO

общедоступный статический ApiDef parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический ApiDef parseFrom (данные ByteBuffer)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический анализ ApiDef (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный статический анализ ApiDef (данные com.google.protobuf.ByteString)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический ApiDef parseFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный статический ApiDef parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общественный статический парсер ()

общедоступный ApiDef.Builder toBuilder ()

public void writeTo (вывод com.google.protobuf.CodedOutputStream)

Броски
Исключение IO