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
מסוג Protobuf.ApiDef שיטות ציבוריות
ApiDef.Builder | addAllArgOrder (ערכי <String> ניתן לחזרה) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAllEndpoint (Iterable<? מרחיב את ApiDef.Endpoint > ערכים) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | addArgOrder (ערך מחרוזת) List of original in_arg names to specify new argument order. |
ApiDef.Builder | addArgOrderBytes (ערך com.google.protobuf.ByteString) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Attr.Builder | addAttrBuilder () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | addAttrBuilder (int index) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | addEndpoint (int index, 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 index) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | addEndpointBuilder () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | addInArg (int index, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Arg.Builder | addInArgBuilder (int index) 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 index, 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 index) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
ApiDef | לבנות () |
ApiDef | buildPartial () |
ApiDef.Builder | ברור () |
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 | clearDescriptionSuffix () string description_suffix = 10; |
ApiDef.Builder | clearEndpoint () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | clearField (שדה 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 | ברור סיכום () One-line human-readable description of what the Op does. |
ApiDef.Builder | clearVisibility () .tensorflow.ApiDef.Visibility visibility = 2; |
ApiDef.Builder | שיבוט () |
חוּט | getArgOrder (int index) List of original in_arg names to specify new argument order. |
com.google.protobuf.ByteString | getArgOrderBytes (int index) 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) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | getAttrBuilder (int index) repeated .tensorflow.ApiDef.Attr attr = 6; |
רשימה< ApiDef.Attr.Builder > | getAttrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
int | getAttrCount () repeated .tensorflow.ApiDef.Attr attr = 6; |
רשימה< ApiDef.Attr > | getAttrList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.AttrOrBuilder | getAttrOrBuilder (int index) repeated .tensorflow.ApiDef.Attr attr = 6; |
רשימה<? מרחיב את ApiDef.AttrOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef | |
חוּט | 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. |
חוּט | 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. |
חוּט | 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. |
חוּט | getDescriptionSuffix () string description_suffix = 10; |
com.google.protobuf.ByteString | getDescriptionSuffixBytes () string description_suffix = 10; |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
ApiDef.Endpoint | getEndpoint (int index) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | getEndpointBuilder (int index) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
רשימה< ApiDef.Endpoint.Builder > | getEndpointBuilderList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
int | getEndpointCount () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
רשימה< ApiDef.Endpoint > | getEndpointList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.EndpointOrBuilder | getEndpointOrBuilder (int index) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
רשימה<? מרחיב את ApiDef.EndpointOrBuilder > | getEndpointOrBuilderList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
חוּט | 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 index) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg.Builder | getInArgBuilder (int index) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
רשימה< ApiDef.Arg.Builder > | getInArgBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
int | getInArgCount () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
רשימה< ApiDef.Arg > | getInArgList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.ArgOrBuilder | getInArgOrBuilder (int index) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
רשימה<? מרחיב את ApiDef.ArgOrBuilder > | getInArgOrBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg | getOutArg (int index) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Arg.Builder | getOutArgBuilder (int index) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
רשימה< ApiDef.Arg.Builder > | getOutArgBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
int | getOutArgCount () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
רשימה< ApiDef.Arg > | getOutArgList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.ArgOrBuilder | getOutArgOrBuilder (int index) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
רשימה<? מרחיב את ApiDef.ArgOrBuilder > | getOutArgOrBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
חוּט | getSummary () 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.Visibility | getVisibility () .tensorflow.ApiDef.Visibility visibility = 2; |
int | getVisibilityValue () .tensorflow.ApiDef.Visibility visibility = 2; |
בוליאנית סופית | |
ApiDef.Builder | mergeFrom (com.google.protobuf.Message אחר) |
ApiDef.Builder | mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Final ApiDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ApiDef.Builder | removeAttr (int index) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | removeEndpoint (int index) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | removeInArg (int index) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | removeOutArg (int index) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setArgOrder (int index, ערך מחרוזת) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | setDeprecationMessage (ערך מחרוזת) 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) If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | setDeprecationVersion (ערך int) Major version when the op will be deleted. |
ApiDef.Builder | setDescription (ערך מחרוזת) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionBytes (ערך com.google.protobuf.ByteString) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionPrefix (ערך מחרוזת) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionPrefixBytes (ערך com.google.protobuf.ByteString) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionSuffix (ערך מחרוזת) string description_suffix = 10; |
ApiDef.Builder | setDescriptionSuffixBytes (ערך com.google.protobuf.ByteString) string description_suffix = 10; |
ApiDef.Builder | |
ApiDef.Builder | setEndpoint (int index, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
ApiDef.Builder | setGraphOpName (ערך מחרוזת) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | setGraphOpNameBytes (ערך com.google.protobuf.ByteString) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | |
ApiDef.Builder | setInArg (int index, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | setOutArg (int index, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
ApiDef.Builder | setSummary (ערך מחרוזת) One-line human-readable description of what the Op does. |
ApiDef.Builder | setSummaryBytes (ערך com.google.protobuf.ByteString) One-line human-readable description of what the Op does. |
Final ApiDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ApiDef.Builder | |
ApiDef.Builder | setVisibilityValue (ערך int) .tensorflow.ApiDef.Visibility visibility = 2; |
שיטות בירושה
שיטות ציבוריות
Public ApiDef.Builder addAllArgOrder (ערכי <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<? מרחיב את ApiDef.Attr > ערכי)
repeated .tensorflow.ApiDef.Attr attr = 6;
Public ApiDef.Builder addAllEndpoint (Iterable<? מרחיב את ApiDef.Endpoint > ערכי)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Public ApiDef.Builder addAllInArg (Iterable<? מרחיב את ApiDef.Arg > ערכי)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Public ApiDef.Builder addAllOutArg (Iterable<? מרחיב את ApiDef.Arg > ערכי)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addArgOrder (ערך מחרוזת)
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)
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, ערך ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
Public ApiDef.Builder addAttr (אינדקס 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 (int index, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Public ApiDef.Builder addEndpoint (אינדקס int, ערך 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 (ערך ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Public ApiDef.Endpoint.Builder addEndpointBuilder (int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Public ApiDef.Endpoint.Builder addEndpointBuilder ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Public ApiDef.Builder addInArg (int index, 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, ערך ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Public ApiDef.Builder addOutArg (אינדקס int, ערך ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Public ApiDef.Builder addOutArg (int index, 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 (אינדקס int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Public ApiDef.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
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;
מחרוזת ציבורית getArgOrder (int index)
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 index)
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;
רשימה ציבורית< ApiDef.Attr.Builder > getAttrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
public int getAttrCount ()
repeated .tensorflow.ApiDef.Attr attr = 6;
Public ApiDef.AttrOrBuilder getAttrOrBuilder (אינדקס int)
repeated .tensorflow.ApiDef.Attr attr = 6;
רשימה ציבורית<? מרחיב את ApiDef.AttrOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
מחרוזת ציבורית 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;
מחרוזת ציבורית 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;
מחרוזת ציבורית 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;
מחרוזת ציבורית 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 index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
רשימה ציבורית< ApiDef.Endpoint.Builder > getEndpointBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public int getEndpointCount ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
רשימה ציבורית< ApiDef.Endpoint > getEndpointList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Public ApiDef.EndpointOrBuilder getEndpointOrBuilder (int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
רשימה ציבורית<? מרחיב את ApiDef.EndpointOrBuilder > getEndpointOrBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
מחרוזת ציבורית 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;
רשימה ציבורית< 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 (int index)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
רשימה ציבורית<? מרחיב את ApiDef.ArgOrBuilder > getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Public ApiDef.Arg.Builder getOutArgBuilder (אינדקס int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
רשימה ציבורית< 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)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
רשימה ציבורית<? מרחיב את ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
מחרוזת ציבורית 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;
בוליאני הסופי הציבורי הוא אתחול ()
public ApiDef.Builder mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public ApiDef.Builder setArgOrder (אינדקס 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 ApiDef.Builder setAttr (אינדקס int, ערך ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
Public ApiDef.Builder setAttr (int index, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder setDeprecationMessage (ערך מחרוזת)
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)
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)
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 (ערך מחרוזת)
Additional, longer human-readable description of what the Op does.
string description = 8;
Public ApiDef.Builder setDescriptionBytes (ערך com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 8;
public ApiDef.Builder setDescriptionPrefix (ערך מחרוזת)
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)
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)
string description_suffix = 10;
Public ApiDef.Builder setEndpoint (אינדקס int, ערך ApiDef.Endpoint )
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 setGraphOpName (ערך מחרוזת)
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)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
Public ApiDef.Builder setInArg (int index, ערך ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Public ApiDef.Builder setInArg (אינדקס int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Public ApiDef.Builder setOutArg (אינדקס int, ערך ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Public ApiDef.Builder setOutArg (int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Public ApiDef.Builder setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט)
Public ApiDef.Builder setSummary (ערך מחרוזת)
One-line human-readable description of what the Op does.
string summary = 7;
Public ApiDef.Builder setSummaryBytes (ערך com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 7;
Public ApiDef.Builder setVisibility (ערך ApiDef.Visibility )
.tensorflow.ApiDef.Visibility visibility = 2;