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
Metodi pubblici
ApiDef.Builder | addAllArgOrder (valori Iterable<String>) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAllEndpoint (Iterable<? estende ApiDef.Endpoint > valori) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | addArgOrder (valore stringa) List of original in_arg names to specify new argument order. |
ApiDef.Builder | addArgOrderBytes (valore com.google.protobuf.ByteString) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAttr (indice int, ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Attr.Builder | addAttrBuilder () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | addAttrBuilder (indice int) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | addEndpoint (indice int, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | addEndpoint (indice int, valore ApiDef.Endpoint ) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | addEndpoint ( ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Endpoint.Builder | addEndpointBuilder (indice int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | aggiungiEndpointBuilder () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | addInArg (indice int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Arg.Builder | addInArgBuilder (indice int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg.Builder | addInArgBuilder () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | addOutArg (indice int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | |
ApiDef.Arg.Builder | addOutArgBuilder () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Arg.Builder | addOutArgBuilder (indice int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
ApiDef | costruire () |
ApiDef | buildPartial () |
ApiDef.Builder | chiaro () |
ApiDef.Builder | clearArgOrder () List of original in_arg names to specify new argument order. |
ApiDef.Builder | clearAttr () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | clearDeprecationMessage () If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | clearDeprecationVersion () Major version when the op will be deleted. |
ApiDef.Builder | clearDescrizione () Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | clearDescriptionPrefix () Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | clearDescrizioneSuffisso () string description_suffix = 10; |
ApiDef.Builder | punto finale chiaro () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Builder | clearGraphOpName () Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | clearInArg () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Builder | clearOutArg () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | cancellaRiepilogo () One-line human-readable description of what the Op does. |
ApiDef.Builder | chiaraVisibilità () .tensorflow.ApiDef.Visibility visibility = 2; |
ApiDef.Builder | clone () |
Corda | getArgOrder (indice int) List of original in_arg names to specify new argument order. |
com.google.protobuf.ByteString | getArgOrderBytes (indice 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 (indice int) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | getAttrBuilder (indice int) repeated .tensorflow.ApiDef.Attr attr = 6; |
Elenco< ApiDef.Attr.Builder > | getAttrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
int | getAttrCount () repeated .tensorflow.ApiDef.Attr attr = 6; |
Elenco< ApiDef.Attr > | getAttrList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.AttrOrBuilder | getAttrOrBuilder (indice int) repeated .tensorflow.ApiDef.Attr attr = 6; |
Elenco<? estende ApiDef.AttrOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef | |
Corda | 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. |
Corda | getDescrizione () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.ByteString | getDescrizioneBytes () Additional, longer human-readable description of what the Op does. |
Corda | getDescrizionePrefisso () 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. |
Corda | getDescrizioneSuffisso () string description_suffix = 10; |
com.google.protobuf.ByteString | getDescrizioneSuffixBytes () string description_suffix = 10; |
com.google.protobuf.Descriptors.Descriptor statico finale | |
com.google.protobuf.Descriptors.Descriptor | |
ApiDef.Endpoint | getEndpoint (indice int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | getEndpointBuilder (indice int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Elenco< ApiDef.Endpoint.Builder > | getEndpointBuilderList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
int | getEndpointCount () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Elenco< ApiDef.Endpoint > | getEndpointList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.EndpointOrBuilder | getEndpointOrBuilder (indice int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Elenco<? estende ApiDef.EndpointOrBuilder > | getEndpointOrBuilderList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Corda | 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 (indice int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg.Builder | getInArgBuilder (indice int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Elenco< ApiDef.Arg.Builder > | getInArgBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
int | getInArgCount () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Elenco< ApiDef.Arg > | getInArgList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.ArgOrBuilder | getInArgOrBuilder (indice int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Elenco<? estende ApiDef.ArgOrBuilder > | getInArgOrBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg | getOutArg (indice int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Arg.Builder | getOutArgBuilder (indice int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Elenco< ApiDef.Arg.Builder > | getOutArgBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
int | getOutArgCount () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Elenco< ApiDef.Arg > | getOutArgList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.ArgOrBuilder | getOutArgOrBuilder (indice int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Elenco<? estende ApiDef.ArgOrBuilder > | getOutArgOrBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Corda | getRiepilogo () 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. |
ApiDef.Visibilità | getVisibilità () .tensorflow.ApiDef.Visibility visibility = 2; |
int | getVisibilityValue () .tensorflow.ApiDef.Visibility visibility = 2; |
booleano finale | |
ApiDef.Builder | mergeFrom (com.google.protobuf.Message altro) |
ApiDef.Builder | mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
finale ApiDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
ApiDef.Builder | rimuoviAttr (indice int) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | rimuoviEndpoint (indice int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | rimuoviInArg (indice int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | rimuoviOutArg (indice int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setArgOrder (indice int, valore stringa) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | setAttr (indice int, ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | setDeprecationMessage (valore stringa) If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | setDeprecationMessageBytes (valore com.google.protobuf.ByteString) If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | setDeprecationVersion (valore int) Major version when the op will be deleted. |
ApiDef.Builder | setDescription (valore stringa) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionBytes (valore com.google.protobuf.ByteString) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionPrefix (valore stringa) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionPrefixBytes (valore com.google.protobuf.ByteString) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionSuffix (valore stringa) string description_suffix = 10; |
ApiDef.Builder | setDescriptionSuffixBytes (valore com.google.protobuf.ByteString) string description_suffix = 10; |
ApiDef.Builder | setEndpoint (indice int, valore ApiDef.Endpoint ) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | setEndpoint (indice int, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto) |
ApiDef.Builder | setGraphOpName (valore stringa) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | setGraphOpNameBytes (valore com.google.protobuf.ByteString) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | |
ApiDef.Builder | setInArg (indice int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | setOutArg (indice int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto) |
ApiDef.Builder | setSummary (valore stringa) One-line human-readable description of what the Op does. |
ApiDef.Builder | setSummaryBytes (valore com.google.protobuf.ByteString) One-line human-readable description of what the Op does. |
finale ApiDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
ApiDef.Builder | |
ApiDef.Builder | setVisibilityValue (valore int) .tensorflow.ApiDef.Visibility visibility = 2; |
Metodi ereditati
Metodi pubblici
public ApiDef.Builder addAllArgOrder (valori Iterable<String>)
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.Builder addAllAttr (Iterable<? estende ApiDef.Attr > valori)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addAllEndpoint (Iterable<? estende ApiDef.Endpoint > valori)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addAllInArg (Iterable<? estende ApiDef.Arg > valori)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addAllOutArg (Iterable<? estende ApiDef.Arg > valori)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addArgOrder (valore stringa)
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.Builder addArgOrderBytes (valore com.google.protobuf.ByteString)
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.Builder addAttr (indice int, valore ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addAttr (indice int, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addAttr ( ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addEndpoint (indice int, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addEndpoint (indice int, valore ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addEndpoint ( ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addEndpoint (valore ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Endpoint.Builder addEndpointBuilder (indice int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Endpoint.Builder addEndpointBuilder ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addInArg (indice int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addInArg ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addInArg (indice int, valore ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addOutArg (indice int, valore ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addOutArg (indice int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addOutArg ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Arg.Builder addOutArgBuilder (indice int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public ApiDef.Builder clearArgOrder ()
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.Builder clearDeprecationMessage ()
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 ApiDef.Builder clearDeprecationVersion ()
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;
public ApiDef.Builder clearDescription ()
Additional, longer human-readable description of what the Op does.
string description = 8;
public ApiDef.Builder clearDescriptionPrefix ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
public ApiDef.Builder clearGraphOpName ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
public ApiDef.Builder clearSummary ()
One-line human-readable description of what the Op does.
string summary = 7;
public String getArgOrder (indice 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;
pubblico com.google.protobuf.ByteString getArgOrderBytes (indice 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;
Elenco pubblico< ApiDef.Attr.Builder > getAttrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
public int getAttrCount ()
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.AttrOrBuilder getAttrOrBuilder (indice int)
repeated .tensorflow.ApiDef.Attr attr = 6;
Elenco pubblico<? estende ApiDef.AttrOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
stringa pubblica 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;
pubblico 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;
stringa pubblica getDescription ()
Additional, longer human-readable description of what the Op does.
string description = 8;
pubblico com.google.protobuf.ByteString getDescriptionBytes ()
Additional, longer human-readable description of what the Op does.
string description = 8;
public String getDescriptionPrefix ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
pubblico com.google.protobuf.ByteString getDescriptionPrefixBytes ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
public String getDescriptionSuffix ()
string description_suffix = 10;
pubblico com.google.protobuf.ByteString getDescriptionSuffixBytes ()
string description_suffix = 10;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
pubblico com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public ApiDef.Endpoint.Builder getEndpointBuilder (indice int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Elenco pubblico< ApiDef.Endpoint.Builder > getEndpointBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public int getEndpointCount ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Elenco pubblico< ApiDef.Endpoint > getEndpointList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.EndpointOrBuilder getEndpointOrBuilder (indice int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Elenco pubblico<? estende ApiDef.EndpointOrBuilder > getEndpointOrBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public String getGraphOpName ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
pubblico com.google.protobuf.ByteString getGraphOpNameBytes ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
Elenco pubblico< ApiDef.Arg.Builder > getInArgBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public int getInArgCount ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.ArgOrBuilder getInArgOrBuilder (indice int)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Elenco pubblico<? estende ApiDef.ArgOrBuilder > getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Arg.Builder getOutArgBuilder (indice int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Elenco pubblico< ApiDef.Arg.Builder > getOutArgBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public int getOutArgCount ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.ArgOrBuilder getOutArgOrBuilder (indice int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Elenco pubblico<? estende ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public String getSummary ()
One-line human-readable description of what the Op does.
string summary = 7;
pubblico com.google.protobuf.ByteString getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 7;
public int getVisibilityValue ()
.tensorflow.ApiDef.Visibility visibility = 2;
public final booleano isInitialized ()
public ApiDef.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
public ApiDef.Builder rimuoviEndpoint (indice int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setArgOrder (indice int, valore stringa)
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.Builder setAttr (indice int, valore ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder setAttr (indice int, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder setDeprecationMessage (valore stringa)
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;
pubblico ApiDef.Builder setDeprecationMessageBytes (valore com.google.protobuf.ByteString)
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 ApiDef.Builder setDeprecationVersion (valore int)
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;
public ApiDef.Builder setDescription (valore stringa)
Additional, longer human-readable description of what the Op does.
string description = 8;
pubblico ApiDef.Builder setDescriptionBytes (valore com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 8;
public ApiDef.Builder setDescriptionPrefix (valore stringa)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
pubblico ApiDef.Builder setDescriptionPrefixBytes (valore com.google.protobuf.ByteString)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
pubblico ApiDef.Builder setDescriptionSuffixBytes (valore com.google.protobuf.ByteString)
string description_suffix = 10;
public ApiDef.Builder setEndpoint (indice int, valore ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setEndpoint (indice int, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
public ApiDef.Builder setGraphOpName (valore stringa)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
pubblico ApiDef.Builder setGraphOpNameBytes (valore com.google.protobuf.ByteString)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
public ApiDef.Builder setInArg (indice int, valore ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder setInArg (indice int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder setOutArg (indice int, valore ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder setOutArg (indice int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
public ApiDef.Builder setSummary (valore stringa)
One-line human-readable description of what the Op does.
string summary = 7;
pubblico ApiDef.Builder setSummaryBytes (valore com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 7;
public ApiDef.Builder setVisibility (valore ApiDef.Visibility )
.tensorflow.ApiDef.Visibility visibility = 2;