public static final class
RunOptions.Experimental.RunHandlerPoolOptions.Builder
Options for run handler thread pool.
tensorflow.RunOptions.Experimental.RunHandlerPoolOptions
Public Methods
Inherited Methods
Public Methods
public RunOptions.Experimental.RunHandlerPoolOptions.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public RunOptions.Experimental.RunHandlerPoolOptions.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
public RunOptions.Experimental.RunHandlerPoolOptions.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
public RunOptions.Experimental.RunHandlerPoolOptions.Builder clearPriority ()
Priority of the request. The run handler thread pool will schedule ops based on the priority number. The larger number means higher priority.
int64 priority = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public long getPriority ()
Priority of the request. The run handler thread pool will schedule ops based on the priority number. The larger number means higher priority.
int64 priority = 1;
public final boolean isInitialized ()
public RunOptions.Experimental.RunHandlerPoolOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public RunOptions.Experimental.RunHandlerPoolOptions.Builder mergeFrom (com.google.protobuf.Message other)
public final RunOptions.Experimental.RunHandlerPoolOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public RunOptions.Experimental.RunHandlerPoolOptions.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public RunOptions.Experimental.RunHandlerPoolOptions.Builder setPriority (long value)
Priority of the request. The run handler thread pool will schedule ops based on the priority number. The larger number means higher priority.
int64 priority = 1;