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
Metode Publik
ApiDef.Builder | addAllArgOrder (nilai<String> yang dapat diubah) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAllEndpoint (Nilai Iterable<? extends ApiDef.Endpoint >) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | addArgOrder (Nilai string) List of original in_arg names to specify new argument order. |
ApiDef.Builder | addArgOrderBytes (nilai com.google.protobuf.ByteString) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAttr (indeks int, ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Attr.Builder | tambahkanAttrBuilder () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | addAttrBuilder (indeks int) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | addEndpoint (indeks int, 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 (indeks int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | tambahkanEndpointBuilder () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | addInArg (indeks int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Arg.Builder | addInArgBuilder (indeks int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg.Builder | tambahkanInArgBuilder () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Builder | addOutArg (indeks 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 (indeks int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
ApiDef | membangun () |
ApiDef | |
ApiDef.Builder | jernih () |
ApiDef.Builder | hapusArgOrder () List of original in_arg names to specify new argument order. |
ApiDef.Builder | hapusAttr () 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 | jelasDeskripsi () Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | jelasDeskripsiAwalan () Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | jelasDeskripsi Akhiran () string description_suffix = 10; |
ApiDef.Builder | titik akhir yang jelas () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Builder | hapusGraphOpName () Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | jelasInArg () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Builder | hapusArg () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | jelasRingkasan () One-line human-readable description of what the Op does. |
ApiDef.Builder | visibilitas yang jelas () .tensorflow.ApiDef.Visibility visibility = 2; |
ApiDef.Builder | klon () |
Rangkaian | getArgOrder (indeks int) List of original in_arg names to specify new argument order. |
com.google.protobuf.ByteString | getArgOrderBytes (indeks int) List of original in_arg names to specify new argument order. |
ke dalam | dapatkanArgOrderCount () List of original in_arg names to specify new argument order. |
com.google.protobuf.ProtocolStringList | dapatkanArgOrderList () List of original in_arg names to specify new argument order. |
ApiDef.Attr | getAttr (indeks int) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | getAttrBuilder (indeks int) repeated .tensorflow.ApiDef.Attr attr = 6; |
Daftar< ApiDef.Attr.Builder > | dapatkanAttrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ke dalam | dapatkanAttrCount () repeated .tensorflow.ApiDef.Attr attr = 6; |
Daftar< ApiDef.Attr > | dapatkanAttrList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.AttrOrBuilder | getAttrOrBuilder (indeks int) repeated .tensorflow.ApiDef.Attr attr = 6; |
Daftar<? memperluas ApiDef.AttrOrBuilder > | dapatkanAttrOrBuilderList () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef | |
Rangkaian | dapatkanPenghentianPesan () If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
com.google.protobuf.ByteString | dapatkanDeprecationMessageBytes () If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ke dalam | dapatkanDeprecationVersion () Major version when the op will be deleted. |
Rangkaian | dapatkanDeskripsi () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.ByteString | dapatkanDeskripsiBytes () Additional, longer human-readable description of what the Op does. |
Rangkaian | dapatkanDeskripsiAwalan () Modify an existing/inherited description by adding text to the beginning or end. |
com.google.protobuf.ByteString | dapatkanDeskripsiPrefixBytes () Modify an existing/inherited description by adding text to the beginning or end. |
Rangkaian | dapatkanDeskripsiSuffix () string description_suffix = 10; |
com.google.protobuf.ByteString | dapatkanDeskripsiSuffixBytes () string description_suffix = 10; |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
com.google.protobuf.Descriptors.Descriptor | |
ApiDef.Titik Akhir | getEndpoint (indeks int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | getEndpointBuilder (indeks int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Daftar< ApiDef.Endpoint.Builder > | dapatkanEndpointBuilderList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ke dalam | dapatkanEndpointCount () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Daftar< ApiDef.Titik Akhir > | dapatkanDaftar Titik Akhir () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.EndpointOrBuilder | getEndpointOrBuilder (indeks int) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Daftar<? memperluas ApiDef.EndpointOrBuilder > | dapatkanEndpointOrBuilderList () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
Rangkaian | dapatkanGraphOpName () Name of the op (in the OpDef) to specify the API for. |
com.google.protobuf.ByteString | dapatkanGraphOpNameBytes () Name of the op (in the OpDef) to specify the API for. |
ApiDef.Arg | getInArg (indeks int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg.Builder | getInArgBuilder (indeks int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Daftar< ApiDef.Arg.Builder > | getInArgBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ke dalam | dapatkanInArgCount () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Daftar< ApiDef.Arg > | dapatkanInArgList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.ArgOrBuilder | getInArgOrBuilder (indeks int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
Daftar<? memperluas ApiDef.ArgOrBuilder > | getInArgOrBuilderList () repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Arg | getOutArg (indeks int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Arg.Builder | getOutArgBuilder (indeks int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Daftar< ApiDef.Arg.Builder > | getOutArgBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ke dalam | getOutArgCount () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Daftar< ApiDef.Arg > | dapatkanOutArgList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.ArgOrBuilder | getOutArgOrBuilder (indeks int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Daftar<? memperluas ApiDef.ArgOrBuilder > | getOutArgOrBuilderList () repeated .tensorflow.ApiDef.Arg out_arg = 5; |
Rangkaian | dapatkan Ringkasan () One-line human-readable description of what the Op does. |
com.google.protobuf.ByteString | dapatkanSummaryBytes () One-line human-readable description of what the Op does. |
ApiDef.Visibilitas | dapatkan Visibilitas () .tensorflow.ApiDef.Visibility visibility = 2; |
ke dalam | dapatkanVisibilityValue () .tensorflow.ApiDef.Visibility visibility = 2; |
boolean terakhir | |
ApiDef.Builder | mergeFrom (com.google.protobuf.Pesan lainnya) |
ApiDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Builder terakhir | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ApiDef.Builder | hapusAttr (indeks int) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | hapusEndpoint (int indeks) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | hapusInArg (indeks int) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | hapusOutArg (indeks int) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setArgOrder (indeks int, nilai String) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | setAttr (indeks int, ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | setDeprecationMessage (Nilai string) If this op is deprecated, set deprecation message to the message that should be logged when this op is used. |
ApiDef.Builder | setDeprecationMessageBytes (nilai 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 (nilai int) Major version when the op will be deleted. |
ApiDef.Builder | setDescription (Nilai string) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionBytes (nilai com.google.protobuf.ByteString) Additional, longer human-readable description of what the Op does. |
ApiDef.Builder | setDescriptionPrefix (Nilai string) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionPrefixBytes (nilai com.google.protobuf.ByteString) Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | setDescriptionSuffix (Nilai string) string description_suffix = 10; |
ApiDef.Builder | setDescriptionSuffixBytes (nilai com.google.protobuf.ByteString) string description_suffix = 10; |
ApiDef.Builder | |
ApiDef.Builder | setEndpoint (indeks int, ApiDef.Endpoint.Builder builderForValue) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek) |
ApiDef.Builder | setGraphOpName (Nilai string) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | setGraphOpNameBytes (nilai com.google.protobuf.ByteString) Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | |
ApiDef.Builder | setInArg (indeks int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | setOutArg (indeks int, ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek) |
ApiDef.Builder | setSummary (Nilai string) One-line human-readable description of what the Op does. |
ApiDef.Builder | setSummaryBytes (nilai com.google.protobuf.ByteString) One-line human-readable description of what the Op does. |
ApiDef.Builder terakhir | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
ApiDef.Builder | |
ApiDef.Builder | setVisibilityValue (nilai int) .tensorflow.ApiDef.Visibility visibility = 2; |
Metode Warisan
Metode Publik
public ApiDef.Builder addAllArgOrder (nilai<String> yang dapat diubah)
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 (Nilai Iterable<? extends ApiDef.Attr >)
repeated .tensorflow.ApiDef.Attr attr = 6;
publik ApiDef.Builder addAllEndpoint (Nilai Iterable<? extends ApiDef.Endpoint >)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addAllInArg (Nilai Iterable<? extends ApiDef.Arg >)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
publik ApiDef.Builder addAllOutArg (Nilai Iterable<? extends ApiDef.Arg >)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
publik ApiDef.Builder addArgOrder (Nilai 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;
publik ApiDef.Builder addArgOrderBytes (nilai 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;
publik ApiDef.Builder addAttr (indeks int, nilai ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
publik ApiDef.Builder addAttr (indeks int, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
publik ApiDef.Builder addAttr ( ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
publik ApiDef.Builder addEndpoint (indeks int, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addEndpoint (indeks int, nilai ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder addEndpoint publik ( ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
publik ApiDef.Builder addEndpoint (nilai ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
publik ApiDef.Endpoint.Builder addEndpointBuilder (int indeks)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
publik ApiDef.Endpoint.Builder addEndpointBuilder ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
publik ApiDef.Builder addInArg (int indeks, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder addInArg publik ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
publik ApiDef.Builder addInArg (indeks int, nilai ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
publik ApiDef.Builder addOutArg (indeks int, nilai ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
publik ApiDef.Builder addOutArg (indeks int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder addOutArg publik ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
publik ApiDef.Arg.Builder addOutArgBuilder (int indeks)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
ApiDef.Builder publik 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 publik 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 publik 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 publik clearDescription ()
Additional, longer human-readable description of what the Op does.
string description = 8;
ApiDef.Builder publik clearDescriptionPrefix ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
ApiDef.Builder publik clearGraphOpName ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
publik ApiDef.Builder clearSummary ()
One-line human-readable description of what the Op does.
string summary = 7;
String publik getArgOrder (indeks 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;
publik com.google.protobuf.ByteString getArgOrderBytes (indeks 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;
int publik 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 () publik
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;
Daftar publik< ApiDef.Attr.Builder > getAttrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
int publik getAttrCount ()
repeated .tensorflow.ApiDef.Attr attr = 6;
publik ApiDef.AttrOrBuilder getAttrOrBuilder (int indeks)
repeated .tensorflow.ApiDef.Attr attr = 6;
Daftar Publik<? memperluas ApiDef.AttrOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.ApiDef.Attr attr = 6;
String publik 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;
publik 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;
publik 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;
GetDeskripsi String publik ()
Additional, longer human-readable description of what the Op does.
string description = 8;
com.google.protobuf.ByteString publik getDescriptionBytes ()
Additional, longer human-readable description of what the Op does.
string description = 8;
String publik getDescriptionPrefix ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
publik com.google.protobuf.ByteString getDescriptionPrefixBytes ()
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
String publik getDescriptionSuffix ()
string description_suffix = 10;
publik com.google.protobuf.ByteString getDescriptionSuffixBytes ()
string description_suffix = 10;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()
publik ApiDef.Endpoint.Builder getEndpointBuilder (int indeks)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Daftar publik< ApiDef.Endpoint.Builder > getEndpointBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
int publik getEndpointCount ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Daftar publik< ApiDef.Endpoint > getEndpointList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
publik ApiDef.EndpointOrBuilder getEndpointOrBuilder (int indeks)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
Daftar Publik<? memperluas ApiDef.EndpointOrBuilder > getEndpointOrBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
String publik getGraphOpName ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
publik com.google.protobuf.ByteString getGraphOpNameBytes ()
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
Daftar publik< ApiDef.Arg.Builder > getInArgBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
int publik getInArgCount ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
publik ApiDef.ArgOrBuilder getInArgOrBuilder (int indeks)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
Daftar Publik<? memperluas ApiDef.ArgOrBuilder > getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
publik ApiDef.Arg.Builder getOutArgBuilder (indeks int)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Daftar publik< ApiDef.Arg.Builder > getOutArgBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
int publik getOutArgCount ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
publik ApiDef.ArgOrBuilder getOutArgOrBuilder (int indeks)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
Daftar Publik<? memperluas ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
String publik getSummary ()
One-line human-readable description of what the Op does.
string summary = 7;
com.google.protobuf.ByteString publik getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 7;
int publik getVisibilityValue ()
.tensorflow.ApiDef.Visibility visibility = 2;
boolean akhir publik diinisialisasi ()
public ApiDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
ApiDef.Builder akhir publik menggabungkanUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
publik ApiDef.Builder setArgOrder (indeks int, nilai 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;
publik ApiDef.Builder setAttr (indeks int, nilai ApiDef.Attr )
repeated .tensorflow.ApiDef.Attr attr = 6;
ApiDef.Builder setAttr publik (indeks int, ApiDef.Attr.Builder builderForValue)
repeated .tensorflow.ApiDef.Attr attr = 6;
publik ApiDef.Builder setDeprecationMessage (Nilai 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;
ApiDef.Builder publik setDeprecationMessageBytes (nilai 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;
publik ApiDef.Builder setDeprecationVersion (nilai 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 (Nilai string)
Additional, longer human-readable description of what the Op does.
string description = 8;
setDescriptionBytes ApiDef.Builder publik (nilai com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 8;
publik ApiDef.Builder setDescriptionPrefix (Nilai string)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
setDescriptionPrefixBytes ApiDef.Builder publik (nilai com.google.protobuf.ByteString)
Modify an existing/inherited description by adding text to the beginning or end.
string description_prefix = 9;
setDescriptionSuffixBytes ApiDef.Builder publik (nilai com.google.protobuf.ByteString)
string description_suffix = 10;
publik ApiDef.Builder setEndpoint (indeks int, nilai ApiDef.Endpoint )
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
ApiDef.Builder setEndpoint publik (indeks int, ApiDef.Endpoint.Builder builderForValue)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
publik ApiDef.Builder setGraphOpName (Nilai string)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
publik ApiDef.Builder setGraphOpNameBytes (nilai com.google.protobuf.ByteString)
Name of the op (in the OpDef) to specify the API for.
string graph_op_name = 1;
publik ApiDef.Builder setInArg (indeks int, nilai ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg in_arg = 4;
ApiDef.Builder setInArg publik (indeks int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
publik ApiDef.Builder setOutArg (indeks int, nilai ApiDef.Arg )
repeated .tensorflow.ApiDef.Arg out_arg = 5;
ApiDef.Builder setOutArg publik (indeks int, ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
public ApiDef.Builder setSummary (Nilai string)
One-line human-readable description of what the Op does.
string summary = 7;
publik ApiDef.Builder setSummaryBytes (nilai com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 7;
setVisibility ApiDef.Builder publik (nilai ApiDef.Visibility )
.tensorflow.ApiDef.Visibility visibility = 2;