ApiDef

clase final pública 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 tipo tensorflow.ApiDef

Clases anidadas

clase ApiDef.Arg Protobuf tipo tensorflow.ApiDef.Arg
interfaz ApiDef.ArgOrBuilder
clase ApiDef.Attr
 Description of the graph-construction-time configuration of this
 Op. 
interfaz ApiDef.AttrOrBuilder
clase ApiDef.Constructor
 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. 
clase ApiDef.Endpoint
 If you specify any endpoint, this will replace all of the
 inherited endpoints. 
interfaz ApiDef.EndpointOrBuilder
enumeración ApiDef.Visibilidad Protobuf enumeración tensorflow.ApiDef.Visibility

Constantes

En t ARG_ORDER_FIELD_NUMBER
En t ATTR_FIELD_NUMBER
En t DEPRECATION_MESSAGE_FIELD_NUMBER
En t DEPRECATION_VERSION_FIELD_NUMBER
En t DESCRIPTION_FIELD_NUMBER
En t DESCRIPCIÓN_PREFIX_FIELD_NUMBER
En t DESCRIPTION_SUFFIX_FIELD_NUMBER
En t ENDPOINT_FIELD_NUMBER
En t GRAPH_OP_NAME_FIELD_NUMBER
En t IN_ARG_FIELD_NUMBER
En t OUT_ARG_FIELD_NUMBER
En t SUMMARY_FIELD_NUMBER
En t VISIBILIDAD_CAMPO_NUMBER

Métodos públicos

booleano
es igual (Objeto obj)
Cadena
getArgOrder (índice int)
 List of original in_arg names to specify new argument order.
com.google.protobuf.ByteString
getArgOrderBytes (índice int)
 List of original in_arg names to specify new argument order.
En t
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 (índice int)
repeated .tensorflow.ApiDef.Attr attr = 6;
En t
getAttrCount ()
repeated .tensorflow.ApiDef.Attr attr = 6;
Lista< ApiDef.Attr >
obtenerListaDeAtributos ()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.AttrOrBuilder
getAttrOrBuilder (índice int)
repeated .tensorflow.ApiDef.Attr attr = 6;
Lista<? extiende ApiDef.AttrOrBuilder >
getAttrOrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef estático
ApiDef
Cadena
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.
En t
getDeprecationVersion ()
 Major version when the op will be deleted.
Cadena
obtener descripción ()
 Additional, longer human-readable description of what the Op does.
com.google.protobuf.ByteString
obtenerDescripciónBytes ()
 Additional, longer human-readable description of what the Op does.
Cadena
obtenerPrefijoDescripción ()
 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.
Cadena
getDescriptionSuffix ()
string description_suffix = 10;
com.google.protobuf.ByteString
getDescriptionSuffixBytes ()
string description_suffix = 10;
com.google.protobuf.Descriptors.Descriptor estático final
ApiDef.Endpoint
getEndpoint (índice int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
En t
getEndpointCount ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Lista< ApiDef.Endpoint >
obtener lista de puntos finales ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.EndpointOrBuilder
getEndpointOrBuilder (índice int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Lista<? extiende ApiDef.EndpointOrBuilder >
getEndpointOrBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Cadena
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 (índice int)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
En t
getInArgCount ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Lista< ApiDef.Arg >
getInArgList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.ArgOrBuilder
getInArgOrBuilder (índice int)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Lista<? extiende ApiDef.ArgOrBuilder >
getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Arg
getOutArg (índice int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
En t
getOutArgCount ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Lista< ApiDef.Arg >
getOutArgList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.ArgOrBuilder
getOutArgOrBuilder (índice int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Lista<? extiende ApiDef.ArgOrBuilder >
getOutArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
En t
Cadena
obtenerResumen ()
 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 final
ApiDef.Visibilidad
obtenerVisibilidad ()
.tensorflow.ApiDef.Visibility visibility = 2;
En t
obtenerVisibilidadValor ()
.tensorflow.ApiDef.Visibility visibility = 2;
En t
booleano final
ApiDef.Builder estático
ApiDef.Builder estático
newBuilder (prototipo ApiDef )
ApiDef.Constructor
ApiDef estático
parseDelimitedFrom (entrada de InputStream)
ApiDef estático
parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef estático
parseFrom (datos de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
ApiDef estático
parseFrom (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef estático
parseFrom (datos de ByteBuffer)
ApiDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
ApiDef estático
parseFrom (datos com.google.protobuf.ByteString)
ApiDef estático
parseFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef estático
parseFrom (com.google.protobuf.ByteString datos, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
estático
ApiDef.Constructor
vacío
writeTo (salida de com.google.protobuf.CodedOutputStream)

Métodos heredados

Constantes

int final estático público ARG_ORDER_FIELD_NUMBER

Valor constante: 11

int final estático público ATTR_FIELD_NUMBER

Valor constante: 6

int final estático público DEPRECATION_MESSAGE_FIELD_NUMBER

Valor constante: 12

int final estático público DEPRECATION_VERSION_FIELD_NUMBER

Valor constante: 13

int final estático público DESCRIPTION_FIELD_NUMBER

Valor constante: 8

int final estático público DESCRIPTION_PREFIX_FIELD_NUMBER

Valor constante: 9

int final estático público DESCRIPTION_SUFFIX_FIELD_NUMBER

Valor constante: 10

int final estático público ENDPOINT_FIELD_NUMBER

Valor constante: 3

int final estático público GRAPH_OP_NAME_FIELD_NUMBER

Valor constante: 1

int final estático público IN_ARG_FIELD_NUMBER

Valor constante: 4

int final estático público OUT_ARG_FIELD_NUMBER

Valor constante: 5

int final estático público SUMMARY_FIELD_NUMBER

Valor constante: 7

int final estático público VISIBILITY_FIELD_NUMBER

Valor constante: 2

Métodos públicos

público booleano es igual (Objeto obj)

Cadena pública getArgOrder (índice 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;

público com.google.protobuf.ByteString getArgOrderBytes (índice 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;

público 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;

público 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;

público ApiDef.Attr getAttr (índice int)

repeated .tensorflow.ApiDef.Attr attr = 6;

público int getAttrCount ()

repeated .tensorflow.ApiDef.Attr attr = 6;

Lista pública< ApiDef.Attr > getAttrList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

público ApiDef.AttrOrBuilder getAttrOrBuilder (índice int)

repeated .tensorflow.ApiDef.Attr attr = 6;

Lista pública<? extiende ApiDef.AttrOrBuilder > getAttrOrBuilderList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

ApiDef estática pública getDefaultInstance ()

ApiDef pública getDefaultInstanceForType ()

Cadena pública 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;

público 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;

cadena pública getDescription ()

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

público com.google.protobuf.ByteString getDescriptionBytes ()

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

cadena pública getDescriptionPrefix ()

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

público com.google.protobuf.ByteString getDescriptionPrefixBytes ()

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

cadena pública getDescriptionSuffix ()

string description_suffix = 10;

público com.google.protobuf.ByteString getDescriptionSuffixBytes ()

string description_suffix = 10;

público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

público ApiDef.Endpoint getEndpoint (índice int)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

público int getEndpointCount ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

Lista pública< ApiDef.Endpoint > getEndpointList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

público ApiDef.EndpointOrBuilder getEndpointOrBuilder (índice int)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

Lista pública<? extiende ApiDef.EndpointOrBuilder > getEndpointOrBuilderList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

cadena pública getGraphOpName ()

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

público com.google.protobuf.ByteString getGraphOpNameBytes ()

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

público ApiDef.Arg getInArg (índice int)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

público int getInArgCount ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

Lista pública< ApiDef.Arg > getInArgList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

público ApiDef.ArgOrBuilder getInArgOrBuilder (índice int)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

Lista pública<? extiende ApiDef.ArgOrBuilder > getInArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

público ApiDef.Arg getOutArg (índice int)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

público int getOutArgCount ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

Lista pública< ApiDef.Arg > getOutArgList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

público ApiDef.ArgOrBuilder getOutArgOrBuilder (índice int)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

Lista pública<? extiende ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

público getParserForType ()

público int getSerializedSize ()

cadena pública getSummary ()

resumen de cadena

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

público com.google.protobuf.ByteString getSummaryBytes ()

resumen de cadena

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

público final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public ApiDef.Visibility getVisibility ()

.tensorflow.ApiDef.Visibility visibility = 2;

público int getVisibilityValue ()

.tensorflow.ApiDef.Visibility visibility = 2;

código hash int público ()

público final booleano isInitialized ()

público estático ApiDef.Builder newBuilder ()

público estático ApiDef.Builder newBuilder (prototipo de ApiDef )

público ApiDef.Builder newBuilderForType ()

público estático ApiDef parseDelimitedFrom (entrada de InputStream)

Lanza
IOExcepción

público estático ApiDef parseDelimitedFrom (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

parseFrom público estático de ApiDef (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

parseFrom público estático de ApiDef (entrada com.google.protobuf.CodedInputStream)

Lanza
IOExcepción

parseFrom público estático de ApiDef (byte[] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

parseFrom público estático de ApiDef (datos ByteBuffer)

Lanza
Excepción de buffer de protocolo no válido

parseFrom público estático de ApiDef (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

parseFrom público estático de ApiDef (datos com.google.protobuf.ByteString)

Lanza
Excepción de buffer de protocolo no válido

parseFrom público estático de ApiDef (entrada de InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOExcepción

parseFrom público estático de ApiDef (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
Excepción de buffer de protocolo no válido

estática pública analizador ()

público ApiDef.Builder toBuilder ()

escritura vacía pública (salida de com.google.protobuf.CodedOutputStream)

Lanza
IOExcepción