ApiDef

classe finale publique 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.
 
tensorflow.ApiDef

Classes imbriquées

classe ApiDef.Arg tensorflow.ApiDef.Arg de type Protobuf
interface ApiDef.ArgOrBuilder
classe ApiDef.Attr
 Description of the graph-construction-time configuration of this
 Op. 
interface ApiDef.AttrOrBuilder
classe 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. 
classe ApiDef.Endpoint
 If you specify any endpoint, this will replace all of the
 inherited endpoints. 
interface ApiDef.EndpointOrBuilder
énumération ApiDef.Visibilité Protobuf enum tensorflow.ApiDef.Visibility

Constantes

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 SUMMARY_FIELD_NUMBER
int VISIBILITY_FIELD_NUMBER

Méthodes publiques

booléen
est égal (Obj objet)
Chaîne
getArgOrder (index int)
 List of original in_arg names to specify new argument order.
com.google.protobuf.ByteString
getArgOrderBytes (index 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 (index int)
repeated .tensorflow.ApiDef.Attr attr = 6;
int
getAttrCount ()
repeated .tensorflow.ApiDef.Attr attr = 6;
Liste< ApiDef.Attr >
getAttrListe ()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.AttrOrBuilder
getAttrOrBuilder (index int)
repeated .tensorflow.ApiDef.Attr attr = 6;
Liste<? étend ApiDef.AttrOrBuilder >
getAttrOrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef statique
APIDef
Chaîne
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.
Chaîne
obtenirDescription ()
 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.
Chaîne
getDescriptionPréfixe ()
 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.
Chaîne
getDescriptionSuffix ()
string description_suffix = 10;
com.google.protobuf.ByteString
getDescriptionSuffixBytes ()
string description_suffix = 10;
final statique com.google.protobuf.Descriptors.Descriptor
ApiDef.Endpoint
getEndpoint (index int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
int
getEndpointCount ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Liste< ApiDef.Endpoint >
getEndpointList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.EndpointOrBuilder
getEndpointOrBuilder (index int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Liste<? étend ApiDef.EndpointOrBuilder >
getEndpointOrBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Chaîne
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 (index entier)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
int
getInArgCount ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Liste< ApiDef.Arg >
getInArgListe ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.ArgOrBuilder
getInArgOrBuilder (index int)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Liste<? étend ApiDef.ArgOrBuilder >
getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Arg
getOutArg (index entier)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
int
getOutArgCount ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Liste< ApiDef.Arg >
getOutArgListe ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.ArgOrBuilder
getOutArgOrBuilder (index int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Liste<? étend ApiDef.ArgOrBuilder >
getOutArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
int
Chaîne
getRésumé ()
 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.
final com.google.protobuf.UnknownFieldSet
ApiDef.Visibilité
obtenirVisibilité ()
.tensorflow.ApiDef.Visibility visibility = 2;
int
getVisibilityValue ()
.tensorflow.ApiDef.Visibility visibility = 2;
int
booléen final
ApiDef.Builder statique
ApiDef.Builder statique
newBuilder (prototype ApiDef )
ApiDef.Builder
ApiDef statique
parseDelimitedFrom (entrée InputStream)
ApiDef statique
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef statique
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef statique
parseFrom (entrée com.google.protobuf.CodedInputStream)
ApiDef statique
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef statique
parseFrom (données ByteBuffer)
ApiDef statique
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef statique
parseFrom (données com.google.protobuf.ByteString)
ApiDef statique
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef statique
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
ApiDef.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int ARG_ORDER_FIELD_NUMBER

Valeur constante : 11

public statique final entier ATTR_FIELD_NUMBER

Valeur constante : 6

public statique final int DEPRECATION_MESSAGE_FIELD_NUMBER

Valeur constante : 12

public statique final int DEPRECATION_VERSION_FIELD_NUMBER

Valeur constante : 13

public statique final int DESCRIPTION_FIELD_NUMBER

Valeur constante : 8

public statique final int DESCRIPTION_PREFIX_FIELD_NUMBER

Valeur constante : 9

public statique final int DESCRIPTION_SUFFIX_FIELD_NUMBER

Valeur constante : 10

public statique final entier ENDPOINT_FIELD_NUMBER

Valeur constante : 3

public statique final int GRAPH_OP_NAME_FIELD_NUMBER

Valeur constante : 1

public statique final int IN_ARG_FIELD_NUMBER

Valeur constante : 4

public statique final entier OUT_ARG_FIELD_NUMBER

Valeur constante : 5

public statique final entier SUMMARY_FIELD_NUMBER

Valeur constante : 7

public statique final int VISIBILITY_FIELD_NUMBER

Valeur constante : 2

Méthodes publiques

public booléen égal (Objet obj)

chaîne publique getArgOrder (index 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 (index 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;

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

repeated .tensorflow.ApiDef.Attr attr = 6;

public int getAttrCount ()

repeated .tensorflow.ApiDef.Attr attr = 6;

Liste publique < ApiDef.Attr > getAttrList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

public ApiDef.AttrOrBuilder getAttrOrBuilder (index int)

repeated .tensorflow.ApiDef.Attr attr = 6;

Liste publique <? étend ApiDef.AttrOrBuilder > getAttrOrBuilderList ()

repeated .tensorflow.ApiDef.Attr attr = 6;

public statique ApiDef getDefaultInstance ()

public ApiDef getDefaultInstanceForType ()

chaîne publique 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;

chaîne publique 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;

chaîne publique 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;

chaîne publique getDescriptionSuffix ()

string description_suffix = 10;

public com.google.protobuf.ByteString getDescriptionSuffixBytes ()

string description_suffix = 10;

public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public ApiDef.Endpoint getEndpoint (index int)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public int getEndpointCount ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

liste publique < ApiDef.Endpoint > getEndpointList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

public ApiDef.EndpointOrBuilder getEndpointOrBuilder (index int)

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

Liste publique <? étend ApiDef.EndpointOrBuilder > getEndpointOrBuilderList ()

repeated .tensorflow.ApiDef.Endpoint endpoint = 3;

chaîne publique 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 (index int)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public int getInArgCount ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

Liste publique < ApiDef.Arg > getInArgList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.ArgOrBuilder getInArgOrBuilder (index int)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

Liste publique <? étend ApiDef.ArgOrBuilder > getInArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public ApiDef.Arg getOutArg (index int)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public int getOutArgCount ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

Liste publique < ApiDef.Arg > getOutArgList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public ApiDef.ArgOrBuilder getOutArgOrBuilder (index int)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

Liste publique <? étend ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

publique getParserForType ()

public int getSerializedSize ()

chaîne publique getSummary ()

résumé de la chaîne

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

public com.google.protobuf.ByteString getSummaryBytes ()

résumé de la chaîne

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

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public ApiDef.Visibility getVisibility ()

.tensorflow.ApiDef.Visibility visibility = 2;

public int getVisibilityValue ()

.tensorflow.ApiDef.Visibility visibility = 2;

code de hachage int public ()

public final booléen isInitialized ()

public statique ApiDef.Builder newBuilder ()

public statique ApiDef.Builder newBuilder (prototype ApiDef )

public ApiDef.Builder newBuilderForType ()

public statique ApiDef parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public statique ApiDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique ApiDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique ApiDef parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public statique ApiDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique ApiDef parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public statique ApiDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique ApiDef parseFrom (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public statique ApiDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public statique ApiDef parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public ApiDef.Builder toBuilder ()

public void writeTo (sortie com.google.protobuf.CodedOutputStream)

Jetés
IOException