パブリック最終クラスThreadPoolOptionProto
Protobuf 型tensorflow.ThreadPoolOptionProto
ネストされたクラス
クラス | ThreadPoolOptionProto.Builder | Protobuf 型tensorflow.ThreadPoolOptionProto |
定数
整数 | GLOBAL_NAME_FIELD_NUMBER | |
整数 | NUM_THREADS_FIELD_NUMBER |
パブリックメソッド
ブール値 | 等しい(オブジェクトオブジェクト) |
静的ThreadPoolOptionProto | |
スレッドプールオプションプロト | |
最終的な静的 com.google.protobuf.Descriptors.Descriptor | |
弦 | getグローバル名() The global name of the threadpool. |
com.google.protobuf.ByteString | getGlobalNameBytes () The global name of the threadpool. |
整数 | getNumThreads () The number of threads in the pool. |
整数 | |
最終的な com.google.protobuf.UnknownFieldSet | |
整数 | ハッシュコード() |
最終ブール値 | |
静的ThreadPoolOptionProto.Builder | newBuilder ( ThreadPoolOptionProtoプロトタイプ) |
静的ThreadPoolOptionProto.Builder | newBuilder () |
ThreadPoolOptionProto.Builder | |
静的ThreadPoolOptionProto | parseDelimitedFrom (InputStream 入力) |
静的ThreadPoolOptionProto | parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的ThreadPoolOptionProto | parseFrom (ByteBuffer データ) |
静的ThreadPoolOptionProto | parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的ThreadPoolOptionProto | parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的ThreadPoolOptionProto | parseFrom (com.google.protobuf.CodedInputStream 入力) |
静的ThreadPoolOptionProto | parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的ThreadPoolOptionProto | parseFrom (com.google.protobuf.ByteString データ) |
静的ThreadPoolOptionProto | parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的ThreadPoolOptionProto | parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
静的 | パーサー() |
ThreadPoolOptionProto.Builder | toビルダー() |
空所 | writeTo (com.google.protobuf.CodedOutputStream 出力) |
継承されたメソッド
定数
パブリック静的最終整数GLOBAL_NAME_FIELD_NUMBER
定数値: 2
パブリック静的最終整数NUM_THREADS_FIELD_NUMBER
定数値: 1
パブリックメソッド
public booleanに等しい(オブジェクト obj)
public static Final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
パブリック String getGlobalName ()
The global name of the threadpool. If empty, then the threadpool is made and used according to the scope it's in - e.g., for a session threadpool, it is used by that session only. If non-empty, then: - a global threadpool associated with this name is looked up or created. This allows, for example, sharing one threadpool across many sessions (e.g., like the default behavior, if inter_op_parallelism_threads is not configured), but still partitioning into a large and small pool. - if the threadpool for this global_name already exists, then it is an error if the existing pool was created using a different num_threads value as is specified on this call. - threadpools created this way are never garbage collected.
string global_name = 2;
public com.google.protobuf.ByteString getGlobalNameBytes ()
The global name of the threadpool. If empty, then the threadpool is made and used according to the scope it's in - e.g., for a session threadpool, it is used by that session only. If non-empty, then: - a global threadpool associated with this name is looked up or created. This allows, for example, sharing one threadpool across many sessions (e.g., like the default behavior, if inter_op_parallelism_threads is not configured), but still partitioning into a large and small pool. - if the threadpool for this global_name already exists, then it is an error if the existing pool was created using a different num_threads value as is specified on this call. - threadpools created this way are never garbage collected.
string global_name = 2;
public int getNumThreads ()
The number of threads in the pool. 0 means the system picks a value based on where this option proto is used (see the declaration of the specific field for more info).
int32 num_threads = 1;
公共 getParserForType ()
public int getSerializedSize ()
public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
パブリック最終ブール値isInitialized ()
public static ThreadPoolOptionProto parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static ThreadPoolOptionProto parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static ThreadPoolOptionProto parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static ThreadPoolOptionProto parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
public static ThreadPoolOptionProto parseFrom (com.google.protobuf.ByteString データ)
投げる
無効なプロトコルバッファ例外 |
---|
public static ThreadPoolOptionProto parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public static ThreadPoolOptionProto parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
無効なプロトコルバッファ例外 |
---|
パブリック静的 パーサー()
public void writeTo (com.google.protobuf.CodedOutputStream 出力)
投げる
IO例外 |
---|