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
Genel Yöntemler
ApiDef.Builder | addAllArgOrder (Yinelenebilir<String> değerleri) List of original in_arg names to specify new argument order. |
ApiDef.Builder | addAllAttr (Yinelenebilir<?, ApiDef.Attr > değerlerini genişletir) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | addAllEndpoint (Yinelenebilir<?, ApiDef.Endpoint > değerlerini genişletir) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | addAllInArg (Yinelenebilir<?, ApiDef.Arg > değerlerini genişletir) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | addAllOutArg (Yinelenebilir<? ApiDef.Arg > değerlerini genişletir) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | addArgOrder (Dize değeri) List of original in_arg names to specify new argument order. |
ApiDef.Builder | addArgOrderBytes (com.google.protobuf.ByteString değeri) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAttr (int dizini, 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 (int dizini) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | addEndpoint (int dizini, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | addEndpoint ( ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Endpoint.Builder | addEndpointBuilder (int dizini) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | addEndpointBuilder () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | addInArg (int dizini, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Arg.Builder | addInArgBuilder (int dizini) 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 (int dizini, 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 (int dizini) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
ApiDef | inşa etmek () |
ApiDef | inşaKısmi () |
ApiDef.Builder | temizlemek () |
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 | clearDescription () 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 | clearAçıklamaSonek () string description_suffix = 10; |
ApiDef.Builder | clearEndpoint () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor alanı) |
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 | temizleÖzet () One-line human-readable description of what the Op does. |
ApiDef.Builder | clearGörünürlük () .tensorflow.ApiDef.Visibility visibility = 2; |
ApiDef.Builder | klon () |
Sicim | getArgOrder (int dizini) List of original in_arg names to specify new argument order. |
com.google.protobuf.ByteString | getArgOrderBytes (int dizini) 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 (int dizini) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | getAttrBuilder (int dizini) repeated .tensorflow.ApiDef.Attr attr = 6; |
Liste< ApiDef.Attr.Builder > | getAttrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
int | getAttrCount () repeated .tensorflow.ApiDef.Attr attr = 6; |
Liste< ApiDef.Attr > | getAttrList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.AttrOrBuilder | getAttrOrBuilder (int dizini) repeated .tensorflow.ApiDef.Attr attr = 6; |
Liste<? ApiDef.AttrOrBuilder'ı genişletir > | getAttrOrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef | |
Sicim | 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. |
Sicim | getDescription () 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. |
Sicim | 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. |
Sicim | getDescriptionSuffix () string description_suffix = 10; |
com.google.protobuf.ByteString | getDescriptionSuffixBytes () string description_suffix = 10; |
final statik com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
ApiDef.Endpoint | getEndpoint (int dizini) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | getEndpointBuilder (int dizini) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Liste< ApiDef.Endpoint.Builder > | getEndpointBuilderList () 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 (int dizini) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Liste<? ApiDef.EndpointOrBuilder'ı genişletir > | getEndpointOrBuilderList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Sicim | 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 (int dizini) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg.Builder | getInArgBuilder (int dizini) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Liste< ApiDef.Arg.Builder > | getInArgBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
int | getInArgCount () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Liste< ApiDef.Arg > | getInArgList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.ArgOrBuilder | getInArgOrBuilder (int dizini) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Liste<? ApiDef.ArgOrBuilder'ı genişletir > | getInArgOrBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg | getOutArg (int dizini) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Arg.Builder | getOutArgBuilder (int dizini) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Liste< ApiDef.Arg.Builder > | getOutArgBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
int | getOutArgCount () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Liste< ApiDef.Arg > | getOutArgList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.ArgOrBuilder | getOutArgOrBuilder (int dizini) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Liste<? ApiDef.ArgOrBuilder'ı genişletir > | getOutArgOrBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Sicim | getÖzet () 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.Görünürlük | getVisibility () .tensorflow.ApiDef.Visibility visibility = 2; |
int | getVisibilityValue () .tensorflow.ApiDef.Visibility visibility = 2; |
son boole değeri | Başlatıldı () |
ApiDef.Builder | mergeFrom (com.google.protobuf.Message other) |
ApiDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
son ApiDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields) |
ApiDef.Builder | kaldırAttr (int dizini) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | endpoint'i kaldır (int dizini) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | kaldırInArg (int dizini) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | kaldırOutArg (int dizini) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setArgOrder (int dizini, Dize değeri) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | setAttr (int dizini, ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | setDeprecationMessage (Dize değeri) If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | setDeprecationMessageBytes (com.google.protobuf.ByteString değeri) If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | setDeprecationVersion (int değeri) Major version when the op will be deleted. |
ApiDef.Builder | setDescription (Dize değeri) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionBytes (com.google.protobuf.ByteString değeri) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionPrefix (Dize değeri) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionPrefixBytes (com.google.protobuf.ByteString değeri) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionSuffix (Dize değeri) string description_suffix = 10; |
ApiDef.Builder | setDescriptionSuffixBytes (com.google.protobuf.ByteString değeri) string description_suffix = 10; |
ApiDef.Builder | |
ApiDef.Builder | setEndpoint (int dizini, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri) |
ApiDef.Builder | setGraphOpName (Dize değeri) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | setGraphOpNameBytes (com.google.protobuf.ByteString değeri) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | |
ApiDef.Builder | setInArg (int dizini, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | setOutArg (int dizini, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri) |
ApiDef.Builder | setSummary (Dize değeri) One-line human-readable description of what the Op does. |
ApiDef.Builder | setSummaryBytes (com.google.protobuf.ByteString değeri) One-line human-readable description of what the Op does. |
son ApiDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet bilinmeyenFields) |
ApiDef.Builder | |
ApiDef.Builder | setVisibilityValue (int değeri) .tensorflow.ApiDef.Visibility visibility = 2; |
Kalıtsal Yöntemler
Genel Yöntemler
public ApiDef.Builder addAllArgOrder (Yinelenebilir<String> değerleri)
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 (Yinelenebilir<?, ApiDef.Attr > değerlerini genişletir)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addAllEndpoint (Yinelenebilir<?, ApiDef.Endpoint > değerlerini genişletir)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addAllInArg (Yinelenebilir<?, ApiDef.Arg > değerlerini genişletir)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addAllOutArg (Yinelenebilir<?, ApiDef.Arg > değerlerini genişletir)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addArgOrder (Dize değeri)
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 (com.google.protobuf.ByteString değeri)
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 (int dizini, ApiDef.Attr değeri)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addAttr (int dizini, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addAttr ( ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
genel ApiDef.Builder addEndpoint (int dizini, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addEndpoint (int dizini, ApiDef.Endpoint değeri)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addEndpoint ( ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addEndpoint ( ApiDef.Endpoint değeri)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Endpoint.Builder addEndpointBuilder (int dizini)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Endpoint.Builder addEndpointBuilder ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addInArg (int dizini, 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 (int dizini, ApiDef.Arg değeri)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addOutArg (int dizini, ApiDef.Arg değeri)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
genel ApiDef.Builder addOutArg (int dizini, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
genel ApiDef.Builder addOutArg ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Arg.Builder addOutArgBuilder (int dizini)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
herkese açık 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;
herkese açık 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;
herkese açık 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;
herkese açık 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;
genel ApiDef.Builder clearGraphOpName ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
herkese açık ApiDef.Builder clearSummary ()
One-line human-readable description of what the Op does.
string summary = 7;
public String getArgOrder (int indeksi)
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 dizini)
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;
genel int getAttrCount ()
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.AttrOrBuilder getAttrOrBuilder (int dizini)
repeated .tensorflow.ApiDef.Attr attr = 6;
genel liste<? ApiDef.AttrOrBuilder'ı genişletir > getAttrOrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
public String 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;
genel Dize 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;
genel Dize 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;
public String getDescriptionSuffix ()
string description_suffix = 10;
public com.google.protobuf.ByteString getDescriptionSuffixBytes ()
string description_suffix = 10;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public ApiDef.Endpoint.Builder getEndpointBuilder (int dizini)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
genel Liste< ApiDef.Endpoint.Builder > getEndpointBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public int getEndpointCount ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
genel Liste< ApiDef.Endpoint > getEndpointList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.EndpointOrBuilder getEndpointOrBuilder (int dizini)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
genel liste<? ApiDef.EndpointOrBuilder'ı genişletir > getEndpointOrBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
genel Dize 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;
genel Liste< ApiDef.Arg.Builder > getInArgBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
genel int getInArgCount ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.ArgOrBuilder getInArgOrBuilder (int dizini)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
genel liste<? ApiDef.ArgOrBuilder'ı genişletir > getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Arg.Builder getOutArgBuilder (int dizini)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
genel Liste< 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 (int dizini)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
genel liste<? ApiDef.ArgOrBuilder'ı genişletir > getOutArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
genel Dize 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;
public int getVisibilityValue ()
.tensorflow.ApiDef.Visibility visibility = 2;
genel final boolean isInitialized ()
genel ApiDef.Builder mergeFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
IOİstisnası |
---|
genel final ApiDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet bilinmiyorFields)
public ApiDef.Builder kaldırEndpoint (int dizini)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setArgOrder (int dizini, Dize değeri)
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 (int dizini, ApiDef.Attr değeri)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder setAttr (int dizini, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder setDeprecationMessage (Dize değeri)
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 setDeprecationMessageBytes (com.google.protobuf.ByteString değeri)
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 (int değeri)
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 (Dize değeri)
Additional, longer human-readable description of what the Op does.
string description = 8;
public ApiDef.Builder setDescriptionBytes (com.google.protobuf.ByteString değeri)
Additional, longer human-readable description of what the Op does.
string description = 8;
public ApiDef.Builder setDescriptionPrefix (Dize değeri)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
public ApiDef.Builder setDescriptionPrefixBytes (com.google.protobuf.ByteString değeri)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
public ApiDef.Builder setDescriptionSuffixBytes (com.google.protobuf.ByteString değeri)
string description_suffix = 10;
public ApiDef.Builder setEndpoint (int dizini, ApiDef.Endpoint değeri)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setEndpoint (int index, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor alanı, Nesne değeri)
public ApiDef.Builder setGraphOpName (Dize değeri)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
public ApiDef.Builder setGraphOpNameBytes (com.google.protobuf.ByteString değeri)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
public ApiDef.Builder setInArg (int dizini, ApiDef.Arg değeri)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder setInArg (int dizini, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder setOutArg (int dizini, ApiDef.Arg değeri)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
genel ApiDef.Builder setOutArg (int dizini, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor alanı, int dizini, Nesne değeri)
public ApiDef.Builder setSummary (Dize değeri)
One-line human-readable description of what the Op does.
string summary = 7;
public ApiDef.Builder setSummaryBytes (com.google.protobuf.ByteString değeri)
One-line human-readable description of what the Op does.
string summary = 7;
public ApiDef.Builder setVisibility ( ApiDef.Visibility değeri)
.tensorflow.ApiDef.Visibility visibility = 2;