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 (Iterable<String> 値) List of original in_arg names to specify new argument order. |
ApiDef.Builder | |
ApiDef.Builder | addAllEndpoint (Iterable<? extends 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 | addAttr (int インデックス、 ApiDef.Attr.Builder builderForValue) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Attr.Builder | addAttrBuilder () repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Attr.Builder | addAttrBuilder (int インデックス) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | addEndpoint (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 (int インデックス) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | addEndpointBuilder () repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | |
ApiDef.Builder | addInArg (int インデックス、 ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | |
ApiDef.Arg.Builder | addInArgBuilder (int インデックス) 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 インデックス、 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 フィールド、オブジェクト値) |
アピデフ | 建てる() |
アピデフ | buildPartial () |
ApiDef.Builder | クリア() |
ApiDef.Builder | ClearArgOrder () List of original in_arg names to specify new argument order. |
ApiDef.Builder | クリア属性() 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 | クリア説明プレフィックス() Modify an existing/inherited description by adding text to the beginning or end. |
ApiDef.Builder | クリア説明サフィックス() string description_suffix = 10; |
ApiDef.Builder | クリアエンドポイント() repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド) |
ApiDef.Builder | クリアグラフオプ名() Name of the op (in the OpDef) to specify the API for. |
ApiDef.Builder | クリアInArg () 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; |
リスト< 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; |
アピデフ | |
弦 | 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. |
弦 | get説明() 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; |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
ApiDef.エンドポイント | getEndpoint (int インデックス) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Endpoint.Builder | getEndpointBuilder (int インデックス) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
リスト< 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 インデックス) 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 インデックス) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
リスト< 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 インデックス) 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; |
リスト< 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; |
弦 | get概要() One-line human-readable description of what the Op does. |
com.google.protobuf.ByteString | getサマリーバイト() 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.UnknownFieldSet 不明フィールド) |
ApiDef.Builder | RemoveAttr (int インデックス) repeated .tensorflow.ApiDef.Attr attr = 6; |
ApiDef.Builder | RemoveEndpoint (int インデックス) repeated .tensorflow.ApiDef.Endpoint endpoint = 3; |
ApiDef.Builder | RemoveInArg (int インデックス) 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 | setAttr (int インデックス、 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. |
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 インデックス、 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 インデックス、 ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg in_arg = 4; |
ApiDef.Builder | |
ApiDef.Builder | setOutArg (int インデックス、 ApiDef.Arg.Builder builderForValue) repeated .tensorflow.ApiDef.Arg out_arg = 5; |
ApiDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値) |
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; |
継承されたメソッド
パブリックメソッド
public ApiDef.Builder addAllArgOrder (Iterable<String> 値)
List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.
repeated string arg_order = 11;
public ApiDef.Builder addAllAttr (Iterable<? extends ApiDef.Attr > 値)
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.Builder addAllEndpoint (Iterable<? extends ApiDef.Endpoint > 値)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addAllInArg (Iterable<? extends ApiDef.Arg > 値)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addAllOutArg (Iterable<? extends 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.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 インデックス、 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 インデックス)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Endpoint.Builder addEndpointBuilder ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.Builder addInArg (int インデックス、 ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addInArg ( ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Builder addInArg (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 インデックス、 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;
public String 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 インデックス)
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;
public int getAttrCount ()
repeated .tensorflow.ApiDef.Attr attr = 6;
public ApiDef.AttrOrBuilder getAttrOrBuilder (int インデックス)
repeated .tensorflow.ApiDef.Attr attr = 6;
公開リスト<? extends ApiDef.AttrOrBuilder > 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;
public String 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;
public String 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 インデックス)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public List< ApiDef.Endpoint.Builder > getEndpointBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public int getEndpointCount ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public List< ApiDef.Endpoint > getEndpointList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
public ApiDef.EndpointOrBuilder getEndpointOrBuilder (int インデックス)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
公開リスト<? extends ApiDef.EndpointOrBuilder > getEndpointOrBuilderList ()
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
パブリック String 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;
public List< 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 インデックス)
repeated .tensorflow.ApiDef.Arg in_arg = 4;
公開リスト<? extends ApiDef.ArgOrBuilder > getInArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg in_arg = 4;
public ApiDef.Arg.Builder getOutArgBuilder (int インデックス)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public List< 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;
公開リスト<? extends ApiDef.ArgOrBuilder > getOutArgOrBuilderList ()
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public String 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;
パブリック最終ブール値isInitialized ()
public ApiDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public ApiDef.Builder deleteEndpoint (int インデックス)
repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
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.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 インデックス、 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 インデックス、 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 インデックス、 ApiDef.Arg.Builder builderForValue)
repeated .tensorflow.ApiDef.Arg out_arg = 5;
public ApiDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
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;