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
Métodos Públicos
ApiDef.Builder | addAllArgOrder (valores Iterable<String>) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAllEndpoint (Iterable<? estende ApiDef.Endpoint > valores) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | addArgOrder (valor da string) List of original in_arg names to specify new argument order. |
ApiDef.Builder | addArgOrderBytes (valor com.google.protobuf.ByteString) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAttr (índice 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 (índice interno) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | addEndpoint (índice int, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | addEndpoint ( ApiDef.Endpoint.Builder construtorForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Endpoint.Builder | addEndpointBuilder (índice interno) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | addEndpointBuilder () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | addInArg (índice int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Arg.Builder | addInArgBuilder (índice interno) 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 (índice 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 (índice interno) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
ApiDef | construir () |
ApiDef | |
ApiDef.Builder | claro () |
ApiDef.Builder | limparArgOrder () List of original in_arg names to specify new argument order. |
ApiDef.Builder | limparAttr () 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 | limparDescrição () 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 | clearDescriptionSuffix () string description_suffix = 10; |
ApiDef.Builder | limparEndpoint () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Builder | limparGraphOpName () Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | limparInArg () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor umof) |
ApiDef.Builder | limparOutArg () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | limpar Resumo () One-line human-readable description of what the Op does. |
ApiDef.Builder | claraVisibilidade () .tensorflow.ApiDef.Visibility visibility = 2; |
ApiDef.Builder | clonar () |
Corda | getArgOrder (índice interno) List of original in_arg names to specify new argument order. |
com.google.protobuf.ByteString | getArgOrderBytes (índice interno) List of original in_arg names to specify new argument order. |
interno | 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 interno) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | getAttrBuilder (índice interno) repeated .tensorflow.ApiDef.Attr attr = 6; |
Lista< ApiDef.Attr.Builder > | getAttrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
interno | getAttrCount () repeated .tensorflow.ApiDef.Attr attr = 6; |
Lista< ApiDef.Attr > | getAttrList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.AttrOrBuilder | getAttrOrBuilder (índice interno) repeated .tensorflow.ApiDef.Attr attr = 6; |
Lista<? 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. |
interno | getDeprecationVersion () Major version when the op will be deleted. |
Corda | getDescrição () 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. |
Corda | 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. |
Corda | getDescriptionSuffix () string description_suffix = 10; |
com.google.protobuf.ByteString | getDescriptionSuffixBytes () string description_suffix = 10; |
final estático com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
ApiDef.Endpoint | getEndpoint (índice interno) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | getEndpointBuilder (índice interno) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Lista< ApiDef.Endpoint.Builder > | getEndpointBuilderList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
interno | getEndpointCount () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Lista< ApiDef.Endpoint > | getEndpointList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.EndpointOrBuilder | getEndpointOrBuilder (índice interno) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Lista<? 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 (índice interno) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg.Builder | getInArgBuilder (índice interno) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Lista< ApiDef.Arg.Builder > | getInArgBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
interno | getInArgCount () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Lista< ApiDef.Arg > | getInArgList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.ArgOrBuilder | getInArgOrBuilder (índice interno) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Lista<? estende ApiDef.ArgOrBuilder > | getInArgOrBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg | getOutArg (índice interno) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Arg.Builder | getOutArgBuilder (índice interno) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Lista< ApiDef.Arg.Builder > | getOutArgBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
interno | getOutArgCount () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Lista< ApiDef.Arg > | getOutArgList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.ArgOrBuilder | getOutArgOrBuilder (índice interno) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Lista<? estende ApiDef.ArgOrBuilder > | getOutArgOrBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Corda | obter Resumo () 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.Visibilidade | obterVisibilidade () .tensorflow.ApiDef.Visibility visibility = 2; |
interno | getVisibilityValue () .tensorflow.ApiDef.Visibility visibility = 2; |
booleano final | |
ApiDef.Builder | mergeFrom (com.google.protobuf.Message outro) |
ApiDef.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Builder final | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
ApiDef.Builder | removeAttr (índice interno) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | removeEndpoint (índice interno) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | removeInArg (índice interno) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | removeOutArg (índice interno) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setArgOrder (índice int, valor String) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | setAttr (índice int, ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | setDeprecationMessage (valor da string) If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | setDeprecationMessageBytes (valor 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 (valor interno) Major version when the op will be deleted. |
ApiDef.Builder | setDescription (valor da string) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionBytes (valor com.google.protobuf.ByteString) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionPrefix (valor da string) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionPrefixBytes (valor com.google.protobuf.ByteString) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionSuffix (valor da string) string description_suffix = 10; |
ApiDef.Builder | setDescriptionSuffixBytes (valor com.google.protobuf.ByteString) string description_suffix = 10; |
ApiDef.Builder | |
ApiDef.Builder | setEndpoint (índice int, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
ApiDef.Builder | setGraphOpName (valor da string) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | setGraphOpNameBytes (valor com.google.protobuf.ByteString) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | |
ApiDef.Builder | setInArg (índice int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | setOutArg (índice int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
ApiDef.Builder | setSummary (valor da string) One-line human-readable description of what the Op does. |
ApiDef.Builder | setSummaryBytes (valor com.google.protobuf.ByteString) One-line human-readable description of what the Op does. |
ApiDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
ApiDef.Builder | |
ApiDef.Builder | setVisibilityValue (valor interno) .tensorflow.ApiDef.Visibility visibility = 2; |
Métodos herdados
Métodos Públicos
public ApiDef.Builder addAllArgOrder (valores 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 > valores)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addAllEndpoint (Iterable<? estende ApiDef.Endpoint > valores)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addAllInArg (Iterable<? estende ApiDef.Arg > valores)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addAllOutArg (Iterable<? estende ApiDef.Arg > valores)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
público ApiDef.Builder addArgOrder (valor da 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;
público ApiDef.Builder addArgOrderBytes (valor 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 (índice int, valor ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
público ApiDef.Builder addAttr (índice 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 (índice int, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addEndpoint (índice int, valor ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addEndpoint ( ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
público ApiDef.Builder addEndpoint (valor ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
público ApiDef.Endpoint.Builder addEndpointBuilder (índice int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Endpoint.Builder addEndpointBuilder ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addInArg (índice 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 (índice int, valor ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addOutArg (índice int, valor ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
público ApiDef.Builder addOutArg (índice 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;
público ApiDef.Arg.Builder addOutArgBuilder (índice int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
público 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;
público 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;
público 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;
público ApiDef.Builder clearDescriptionPrefix ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
público ApiDef.Builder clearGraphOpName ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
público ApiDef.Builder clearSummary ()
One-line human-readable description of what the Op does.
string summary = 7;
string 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;
Lista pública< ApiDef.Attr.Builder > getAttrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
público int getAttrCount ()
repeated .tensorflow.ApiDef.Attr attr = 6;
público ApiDef.AttrOrBuilder getAttrOrBuilder (índice int)
repeated .tensorflow.ApiDef.Attr attr = 6;
Lista pública<? estende ApiDef.AttrOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
String 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;
público 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;
String pública getDescrição ()
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;
String 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;
String pública getDescriptionSuffix ()
string description_suffix = 10;
público com.google.protobuf.ByteString getDescriptionSuffixBytes ()
string description_suffix = 10;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
público ApiDef.Endpoint.Builder getEndpointBuilder (índice int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Lista pública< ApiDef.Endpoint.Builder > getEndpointBuilderList ()
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<? estende ApiDef.EndpointOrBuilder > getEndpointOrBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
String 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;
Lista pública< ApiDef.Arg.Builder > getInArgBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
público int getInArgCount ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
público ApiDef.ArgOrBuilder getInArgOrBuilder (índice int)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Lista pública<? estende ApiDef.ArgOrBuilder > getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
público ApiDef.Arg.Builder getOutArgBuilder (índice int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Lista pública< ApiDef.Arg.Builder > getOutArgBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
público intgetOutArgCount ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
público ApiDef.ArgOrBuilder getOutArgOrBuilder (índice int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Lista pública<? estende ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
String pública getSummary ()
One-line human-readable description of what the Op does.
string summary = 7;
público com.google.protobuf.ByteString getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 7;
público int getVisibilityValue ()
.tensorflow.ApiDef.Visibility visibility = 2;
público final booleano isInitialized ()
public ApiDef.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público final ApiDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
público ApiDef.Builder removeEndpoint (índice int)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setArgOrder (índice int, valor 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 setAttr (índice int, valor ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
público ApiDef.Builder setAttr (índice int, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
público ApiDef.Builder setDeprecationMessage (valor da string)
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 ApiDef.Builder setDeprecationMessageBytes (valor 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;
público ApiDef.Builder setDeprecationVersion (valor 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;
público ApiDef.Builder setDescription (valor da string)
Additional, longer human-readable description of what the Op does.
string description = 8;
público ApiDef.Builder setDescriptionBytes (valor com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 8;
público ApiDef.Builder setDescriptionPrefix (valor da string)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
público ApiDef.Builder setDescriptionPrefixBytes (valor com.google.protobuf.ByteString)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
público ApiDef.Builder setDescriptionSuffixBytes (valor com.google.protobuf.ByteString)
string description_suffix = 10;
público ApiDef.Builder setEndpoint (índice int, valor ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
público ApiDef.Builder setEndpoint (índice int, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
público ApiDef.Builder setGraphOpName (valor da string)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
público ApiDef.Builder setGraphOpNameBytes (valor com.google.protobuf.ByteString)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
público ApiDef.Builder setInArg (índice int, valor ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
público ApiDef.Builder setInArg (índice int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
público ApiDef.Builder setOutArg (índice int, valor ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
público ApiDef.Builder setOutArg (índice int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
público ApiDef.Builder setSummary (valor da string)
One-line human-readable description of what the Op does.
string summary = 7;
público ApiDef.Builder setSummaryBytes (valor com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 7;
final público ApiDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
público ApiDef.Builder setVisibility (valor ApiDef.Visibility )
.tensorflow.ApiDef.Visibility visibility = 2;