ThreadPoolOptionProto

lớp cuối cùng công khai ThreadPoolOptionProto

Protobuf loại tensorflow.ThreadPoolOptionProto

Các lớp lồng nhau

lớp học ThreadPoolOptionProto.Builder Protobuf loại tensorflow.ThreadPoolOptionProto

Hằng số

int GLOBAL_NAME_FIELD_NUMBER
int NUM_THREADS_FIELD_NUMBER

Phương pháp công khai

boolean
bằng (Đối tượng obj)
ThreadPoolOptionProto tĩnh
ThreadPoolOptionProto
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
Sợi dây
getGlobalName ()
 The global name of the threadpool.
com.google.protobuf.ByteString
getGlobalNameBytes ()
 The global name of the threadpool.
int
getNumThreads ()
 The number of threads in the pool.
int
com.google.protobuf.UnknownFieldSet cuối cùng
int
boolean cuối cùng
ThreadPoolOptionProto.Builder tĩnh
ThreadPoolOptionProto.Builder tĩnh
ThreadPoolOptionProto.Builder
ThreadPoolOptionProto tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)
ThreadPoolOptionProto tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry)
ThreadPoolOptionProto tĩnh
ParseFrom (dữ liệu ByteBuffer)
ThreadPoolOptionProto tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ThreadPoolOptionProto tĩnh
ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ThreadPoolOptionProto tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream)
ThreadPoolOptionProto tĩnh
ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ThreadPoolOptionProto tĩnh
ParseFrom (dữ liệu com.google.protobuf.ByteString)
ThreadPoolOptionProto tĩnh
ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
ThreadPoolOptionProto tĩnh
ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
tĩnh
ThreadPoolOptionProto.Builder
trống rỗng
writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Phương pháp kế thừa

Hằng số

int cuối cùng tĩnh công khai GLOBAL_NAME_FIELD_NUMBER

Giá trị không đổi: 2

int cuối cùng tĩnh công khai NUM_THREADS_FIELD_NUMBER

Giá trị không đổi: 1

Phương pháp công khai

boolean công khai bằng (Object obj)

tĩnh công khai ThreadPoolOptionProto getDefaultInstance ()

public ThreadPoolOptionProto getDefaultInstanceForType ()

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

Chuỗi công khai 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;

com.google.protobuf.ByteString getGlobalNameBytes () công khai

chuỗi

 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;

int công khai 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;

công cộng getParserForType ()

int công khai getSerializedSize ()

trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()

mã băm int công khai ()

boolean cuối cùng công khai được khởi tạo ()

public static ThreadPoolOptionProto.Builder newBuilder ( nguyên mẫu ThreadPoolOptionProto )

tĩnh công khai ThreadPoolOptionProto.Builder newBuilder ()

công khai ThreadPoolOptionProto.Builder newBuilderForType ()

tĩnh công khai ThreadPoolOptionProto parsingDelimitedFrom (Đầu vào luồng đầu vào)

Ném
IOException

tĩnh công khai ThreadPoolOptionProto parsingDelimitedFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

tĩnh công khai ThreadPoolOptionProto phân tích từ (dữ liệu ByteBuffer)

Ném
Giao thức đệm ngoại lệ không hợp lệ

tĩnh công khai ThreadPoolOptionProto parsFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

tĩnh công khai ThreadPoolOptionProto parsFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

tĩnh công khai ThreadPoolOptionProto parsFrom (đầu vào com.google.protobuf.CodedInputStream)

Ném
IOException

tĩnh công khai ThreadPoolOptionProto parsFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

tĩnh công khai ThreadPoolOptionProto parsFrom (dữ liệu com.google.protobuf.ByteString)

Ném
Giao thức đệm ngoại lệ không hợp lệ

tĩnh công khai ThreadPoolOptionProto parsFrom (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

tĩnh công khai ThreadPoolOptionProto parsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

công cộng tĩnh trình phân tích cú pháp ()

công khai ThreadPoolOptionProto.Builder toBuilder ()

public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Ném
IOException