מחלקה סופית ציבורית ThreadPoolOptionProto
סוג Protobuf tensorflow.ThreadPoolOptionProto
כיתות מקוננות
מַחלָקָה | ThreadPoolOptionProto.Builder | סוג Protobuf tensorflow.ThreadPoolOptionProto |
קבועים
int | GLOBAL_NAME_FIELD_NUMBER | |
int | NUM_THREADS_FIELD_NUMBER |
שיטות ציבוריות
בוליאני | שווה (Object obj) |
סטטי ThreadPoolOptionProto | |
ThreadPoolOptionProto | |
final static com.google.protobuf.Descriptors.Descriptor | |
חוּט | 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 | |
final com.google.protobuf.UnknownFieldSet | |
int | hashcode () |
בוליאנית סופית | |
סטטי 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 | toBuilder () |
בָּטֵל | writeTo (פלט com.google.protobuf.CodedOutputStream) |
שיטות בירושה
קבועים
גמר סטטי ציבורי GLOBAL_NAME_FIELD_NUMBER
ערך קבוע: 2
גמר סטטי ציבורי NUM_THREADS_FIELD_NUMBER
ערך קבוע: 1
שיטות ציבוריות
שווה ערך בוליאני ציבורי (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
מחרוזת ציבורית 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 ()
בוליאני הסופי הציבורי הוא אתחול ()
Public static ThreadPoolOptionProto parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static ThreadPoolOptionProto parseFrom (נתוני ByteBuffer)
זורק
InvalidProtocolBufferException |
---|
Public static ThreadPoolOptionProto parseFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static ThreadPoolOptionProto parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
Public static ThreadPoolOptionProto parseFrom (קלט com.google.protobuf.CodedInputStream)
זורק
IOException |
---|
public static ThreadPoolOptionProto parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ThreadPoolOptionProto parseFrom (נתוני com.google.protobuf.ByteString)
זורק
InvalidProtocolBufferException |
---|
Public static ThreadPoolOptionProto parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
Public static ThreadPoolOptionProto parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
InvalidProtocolBufferException |
---|
סטטי ציבורי מנתח ()
public void writeTo (פלט com.google.protobuf.CodedOutputStream)
זורק
IOException |
---|