ApiDef

パブリック最終クラスApiDef

 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.
 
Protobuf 型tensorflow.ApiDef

ネストされたクラス

クラスApiDef.Arg Protobuf 型tensorflow.ApiDef.Arg
インターフェースApiDef.ArgOrBuilder
クラスAPIDef.Attr
 Description of the graph-construction-time configuration of this
 Op. 
インターフェースApiDef.AttrOrBuilder
クラスApiDef.Builder
 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. 
クラスApiDef.エンドポイント
 If you specify any endpoint, this will replace all of the
 inherited endpoints. 
インターフェースApiDef.EndpointOrBuilder
列挙型ApiDef.Visibility Protobuf enum tensorflow.ApiDef.Visibility

定数

整数ARG_ORDER_FIELD_NUMBER
整数ATTR_FIELD_NUMBER
整数DEPRECATION_MESSAGE_FIELD_NUMBER
整数DEPRECATION_VERSION_FIELD_NUMBER
整数DESCRIPTION_FIELD_NUMBER
整数DESCRIPTION_PREFIX_FIELD_NUMBER
整数DESCRIPTION_SUFFIX_FIELD_NUMBER
整数ENDPOINT_FIELD_NUMBER
整数GRAPH_OP_NAME_FIELD_NUMBER
整数IN_ARG_FIELD_NUMBER
整数OUT_ARG_FIELD_NUMBER
整数SUMMARY_FIELD_NUMBER
整数VISIBILITY_FIELD_NUMBER

パブリックメソッド

ブール値
等しい(オブジェクトオブジェクト)
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;
整数
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.
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
ApiDef.エンドポイント
getEndpoint (int インデックス)
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;
整数
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;
整数
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.
最終的な com.google.protobuf.UnknownFieldSet
ApiDef.Visibility
getVisibility ()
.tensorflow.ApiDef.Visibility visibility = 2;
整数
getVisibilityValue ()
.tensorflow.ApiDef.Visibility visibility = 2;
整数
最終ブール値
静的ApiDef.Builder
静的ApiDef.Builder
newBuilder ( ApiDefプロトタイプ)
ApiDef.Builder
静的ApiDef
parseDelimitedFrom (InputStream 入力)
静的ApiDef
parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的ApiDef
parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的ApiDef
parseFrom (com.google.protobuf.CodedInputStream 入力)
静的ApiDef
parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的ApiDef
parseFrom (ByteBuffer データ)
静的ApiDef
parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的ApiDef
parseFrom (com.google.protobuf.ByteString データ)
静的ApiDef
parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的ApiDef
parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的
ApiDef.Builder
空所
writeTo (com.google.protobuf.CodedOutputStream 出力)

継承されたメソッド

定数

パブリック静的最終整数ARG_ORDER_FIELD_NUMBER

定数値: 11

パブリック静的最終整数ATTR_FIELD_NUMBER

定数値: 6

public static Final int DEPRECATION_MESSAGE_FIELD_NUMBER

定数値: 12

public static Final int DEPRECATION_VERSION_FIELD_NUMBER

定数値: 13

パブリック静的最終整数DESCRIPTION_FIELD_NUMBER

定数値: 8

public static Final int DESCRIPTION_PREFIX_FIELD_NUMBER

定数値: 9

パブリック静的最終整数DESCRIPTION_SUFFIX_FIELD_NUMBER

定数値: 10

パブリック静的最終整数ENDPOINT_FIELD_NUMBER

定数値: 3

パブリック静的最終整数GRAPH_OP_NAME_FIELD_NUMBER

定数値: 1

パブリック静的最終整数IN_ARG_FIELD_NUMBER

定数値: 4

パブリック静的最終整数OUT_ARG_FIELD_NUMBER

定数値: 5

パブリック静的最終整数SUMMARY_FIELD_NUMBER

定数値: 7

パブリック静的最終整数VISIBILITY_FIELD_NUMBER

定数値: 2

パブリックメソッド

public booleanに等しい(オブジェクト obj)

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 ApiDef.Attr getAttr (int インデックス)

repeated .tensorflow.ApiDef.Attr attr = 6;

public int getAttrCount ()

repeated .tensorflow.ApiDef.Attr attr = 6;

public List< ApiDef.Attr > getAttrList ()

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;

パブリック静的ApiDef getDefaultInstance ()

public ApiDef getDefaultInstanceForType ()

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 ApiDef.Endpoint getEndpoint (int インデックス)

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 ApiDef.Arg getInArg (int インデックス)

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public int getInArgCount ()

repeated .tensorflow.ApiDef.Arg in_arg = 4;

public List< ApiDef.Arg > getInArgList ()

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 getOutArg (int インデックス)

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public int getOutArgCount ()

repeated .tensorflow.ApiDef.Arg out_arg = 5;

public List< ApiDef.Arg > getOutArgList ()

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;

公共getParserForType ()

public int getSerializedSize ()

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 Final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public ApiDef.Visibility getVisibility ()

.tensorflow.ApiDef.Visibility visibility = 2;

public int getVisibilityValue ()

.tensorflow.ApiDef.Visibility visibility = 2;

public int hashCode ()

パブリック最終ブール値isInitialized ()

public static ApiDef.Builder newBuilder ()

public static ApiDef.Builder newBuilder ( ApiDefプロトタイプ)

public ApiDef.Builder newBuilderForType ()

public static ApiDef parseDelimitedFrom (InputStream 入力)

投げる
IO例外

public static ApiDef parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static ApiDef parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static ApiDef parseFrom (com.google.protobuf.CodedInputStream 入力)

投げる
IO例外

public static ApiDef parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static ApiDef parseFrom (ByteBuffer データ)

投げる
無効なプロトコルバッファ例外

public static ApiDef parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static ApiDef parseFrom (com.google.protobuf.ByteString データ)

投げる
無効なプロトコルバッファ例外

public static ApiDef parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static ApiDef parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

パブリック静的パーサー()

public ApiDef.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream 出力)

投げる
IO例外