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
روش های عمومی
ApiDef.Builder | addAllArgOrder (مقادیر<String> تکرارپذیر) List of original in_arg names to specify new argument order. |
ApiDef.Builder | addAllAttr (Iterable<? مقادیر ApiDef.Attr > را گسترش می دهد) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | addAllEndpoint (Iterable<? مقادیر ApiDef.Endpoint > را گسترش می دهد) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | addAllInArg (Iterable<? مقادیر ApiDef.Arg > را گسترش می دهد) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | addAllOutArg (Iterable<? مقادیر ApiDef.Arg > را گسترش می دهد) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
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) 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) 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) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
ApiDef | ساختن () |
ApiDef | ساخت جزئی () |
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 | توضیح واضح () 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 | clearDescriptionپسوند () 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 | شفافیت دید () .tensorflow.ApiDef.Visibility visibility = 2; |
ApiDef.Builder | کلون () |
رشته | getArgOrder (شاخص int) List of original in_arg names to specify new argument order. |
com.google.protobuf.ByteString | getArgOrderBytes (شاخص int) List of original in_arg names to specify new argument order. |
بین المللی | 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) repeated .tensorflow.ApiDef.Attr attr = 6; |
List< ApiDef.Attr.Builder > | getAttrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
بین المللی | getAttrCount () repeated .tensorflow.ApiDef.Attr attr = 6; |
فهرست < ApiDef.Attr > | getAttrList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.AttrOrBuilder | getAttrOrBuilder (شاخص int) 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. |
بین المللی | 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. |
رشته | پسوند getDescription () string description_suffix = 10; |
com.google.protobuf.ByteString | getDescriptionSuffixBytes () string description_suffix = 10; |
نهایی static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
ApiDef.Endpoint | getEndpoint (شاخص int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | getEndpointBuilder (شاخص int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
List< ApiDef.Endpoint.Builder > | getEndpointBuilderList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
بین المللی | 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) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg.Builder | getInArgBuilder (int index) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
List< ApiDef.Arg.Builder > | getInArgBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
بین المللی | 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) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Arg.Builder | getOutArgBuilder (شاخص int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
List< ApiDef.Arg.Builder > | getOutArgBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
بین المللی | getOutArgCount () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
لیست< ApiDef.Arg > | getOutArgList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.ArgOrBuilder | getOutArgOrBuilder (شاخص int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
لیست<? گسترش ApiDef.ArgOrBuilder > | getOutArgOrBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
رشته | دریافت خلاصه () 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; |
بین المللی | getVisibilityValue () .tensorflow.ApiDef.Visibility visibility = 2; |
بولی نهایی | |
ApiDef.Builder | mergeFrom (com.google.protobuf.Message other) |
ApiDef.Builder | mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
نهایی ApiDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ApiDef.Builder | removeAttr (شاخص int) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | removeEndpoint (شاخص int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | removeInArg (int index) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | removeOutArg (شاخص int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setArgOrder (شاخص int، مقدار رشته) 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 فیلد، مقدار Object) |
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، نمایه int، مقدار Object) |
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. |
نهایی ApiDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ApiDef.Builder | |
ApiDef.Builder | setVisibilityValue (مقدار int) .tensorflow.ApiDef.Visibility visibility = 2; |
روش های ارثی
روش های عمومی
عمومی 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;
عمومی ApiDef.Builder addAllAttr (Iterable<? مقادیر ApiDef.Attr > را گسترش می دهد)
repeated .tensorflow.ApiDef.Attr attr = 6;
عمومی ApiDef.Builder addAllEndpoint (Iterable<? مقادیر ApiDef.Endpoint > را گسترش می دهد)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
عمومی ApiDef.Builder addAllInArg (Iterable<? مقادیر ApiDef.Arg > را گسترش می دهد)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
عمومی ApiDef.Builder addAllOutArg (Iterable<? مقادیر ApiDef.Arg > را گسترش می دهد)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
عمومی 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;
عمومی 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;
عمومی ApiDef.Builder addAttr (شاخص int، مقدار ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
عمومی ApiDef.Builder addAttr (int index, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
عمومی ApiDef.Builder addAttr ( ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
عمومی ApiDef.Builder addEndpoint (int index، ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
عمومی ApiDef.Builder addEndpoint (شاخص int، مقدار ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
عمومی ApiDef.Builder addEndpoint ( ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
عمومی ApiDef.Builder addEndpoint (مقدار ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
عمومی ApiDef.Endpoint.Builder addEndpointBuilder (int index)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
عمومی ApiDef.Endpoint.Builder addEndpointBuilder ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
عمومی ApiDef.Builder addInArg (int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
عمومی ApiDef.Builder addInArg ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
عمومی ApiDef.Builder addInArg (int index، مقدار ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
عمومی ApiDef.Builder addOutArg (int index، مقدار ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
عمومی ApiDef.Builder addOutArg (int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
عمومی ApiDef.Builder addOutArg ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
عمومی ApiDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
عمومی 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;
عمومی 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;
عمومی 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;
عمومی ApiDef.Builder clearDescription ()
Additional, longer human-readable description of what the Op does.
string description = 8;
عمومی ApiDef.Builder clearDescriptionPrefix ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
عمومی ApiDef.Builder clearGraphOpName ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
عمومی ApiDef.Builder clearSummary ()
One-line human-readable description of what the Op does.
string summary = 7;
رشته عمومی getArgOrder (شاخص int)
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
public com.google.protobuf.ByteString getArgOrderBytes (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;
عمومی 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;
عمومی 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;
عمومی int getAttrCount ()
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;
عمومی 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;
عمومی 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;
عمومی 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;
عمومی 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;
عمومی com.google.protobuf.ByteString getDescriptionSuffixBytes ()
string description_suffix = 10;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
عمومی com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
عمومی 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.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;
عمومی int getInArgCount ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
لیست عمومی<? گسترش ApiDef.ArgOrBuilder > getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
لیست عمومی< ApiDef.Arg.Builder > getOutArgBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
عمومی int getOutArgCount ()
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.
string summary = 7;
عمومی com.google.protobuf.ByteString getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 7;
عمومی int getVisibilityValue ()
.tensorflow.ApiDef.Visibility visibility = 2;
بولین نهایی عمومی isInitialized ()
عمومی ApiDef.Builder mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی 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;
عمومی ApiDef.Builder setAttr (شاخص int، مقدار ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
عمومی ApiDef.Builder setAttr (int index، ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
عمومی 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;
عمومی 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;
عمومی 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;
عمومی ApiDef.Builder setDescription (مقدار رشته)
Additional, longer human-readable description of what the Op does.
string description = 8;
عمومی ApiDef.Builder setDescriptionBytes (مقدار com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 8;
عمومی ApiDef.Builder setDescriptionPrefix (مقدار رشته)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
عمومی ApiDef.Builder setDescriptionPrefixBytes (مقدار com.google.protobuf.ByteString)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
عمومی ApiDef.Builder setDescriptionSuffixBytes (مقدار com.google.protobuf.ByteString)
string description_suffix = 10;
عمومی ApiDef.Builder setEndpoint (شاخص int، مقدار ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
عمومی ApiDef.Builder setEndpoint (int index, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
عمومی ApiDef.Builder setGraphOpName (مقدار رشته)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
عمومی ApiDef.Builder setGraphOpNameBytes (مقدار com.google.protobuf.ByteString)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
عمومی ApiDef.Builder setInArg (int index، مقدار ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
عمومی ApiDef.Builder setInArg (int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
عمومی ApiDef.Builder setOutArg (int index، مقدار ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
عمومی ApiDef.Builder setOutArg (int index, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
عمومی ApiDef.Builder setRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object)
عمومی ApiDef.Builder setSummary (مقدار رشته)
One-line human-readable description of what the Op does.
string summary = 7;
عمومی ApiDef.Builder setSummaryBytes (مقدار com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 7;
عمومی ApiDef.Builder setVisibility (مقدار ApiDef.Visibility )
.tensorflow.ApiDef.Visibility visibility = 2;