RunOptions.Experimental

public static final class RunOptions.Experimental

 Everything inside Experimental is subject to change and is not subject
 to API stability guarantees in
 https://www.tensorflow.org/guide/version_compat.
 
Protobuf type tensorflow.RunOptions.Experimental

Nested Classes

class RunOptions.Experimental.Builder
 Everything inside Experimental is subject to change and is not subject
 to API stability guarantees in
 https://www.tensorflow.org/guide/version_compat. 
class RunOptions.Experimental.RunHandlerPoolOptions
 Options for run handler thread pool. 
interface RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder  

Constants

int COLLECTIVE_GRAPH_KEY_FIELD_NUMBER
int RUN_HANDLER_POOL_OPTIONS_FIELD_NUMBER
int USE_RUN_HANDLER_POOL_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
long
getCollectiveGraphKey()
 If non-zero, declares that this graph is going to use collective
 ops and must synchronize step_ids with any other graph with this
 same group_key value (in a distributed computation where tasks
 run disjoint graphs).
static RunOptions.Experimental
RunOptions.Experimental
final static com.google.protobuf.Descriptors.Descriptor
RunOptions.Experimental.RunHandlerPoolOptions
getRunHandlerPoolOptions()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder
getRunHandlerPoolOptionsOrBuilder()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
int
final com.google.protobuf.UnknownFieldSet
boolean
getUseRunHandlerPool()
 If true, then operations (using the inter-op pool) across all
 session::run() calls will be centrally scheduled, optimizing for (median
 and tail) latency.
boolean
hasRunHandlerPoolOptions()
.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;
int
final boolean
static RunOptions.Experimental.Builder
static RunOptions.Experimental.Builder
RunOptions.Experimental.Builder
static RunOptions.Experimental
parseDelimitedFrom(InputStream input)
static RunOptions.Experimental
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RunOptions.Experimental
parseFrom(ByteBuffer data)
static RunOptions.Experimental
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RunOptions.Experimental
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RunOptions.Experimental
parseFrom(com.google.protobuf.CodedInputStream input)
static RunOptions.Experimental
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RunOptions.Experimental
parseFrom(com.google.protobuf.ByteString data)
static RunOptions.Experimental
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RunOptions.Experimental
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
RunOptions.Experimental.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int COLLECTIVE_GRAPH_KEY_FIELD_NUMBER

Constant Value: 1

public static final int RUN_HANDLER_POOL_OPTIONS_FIELD_NUMBER

Constant Value: 3

public static final int USE_RUN_HANDLER_POOL_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

public long getCollectiveGraphKey ()

 If non-zero, declares that this graph is going to use collective
 ops and must synchronize step_ids with any other graph with this
 same group_key value (in a distributed computation where tasks
 run disjoint graphs).
 
int64 collective_graph_key = 1;

public static RunOptions.Experimental getDefaultInstance ()

public RunOptions.Experimental getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public getParserForType ()

public RunOptions.Experimental.RunHandlerPoolOptions getRunHandlerPoolOptions ()

.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;

public RunOptions.Experimental.RunHandlerPoolOptionsOrBuilder getRunHandlerPoolOptionsOrBuilder ()

.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public boolean getUseRunHandlerPool ()

 If true, then operations (using the inter-op pool) across all
 session::run() calls will be centrally scheduled, optimizing for (median
 and tail) latency.
 Consider using this option for CPU-bound workloads like inference.
 
bool use_run_handler_pool = 2;

public boolean hasRunHandlerPoolOptions ()

.tensorflow.RunOptions.Experimental.RunHandlerPoolOptions run_handler_pool_options = 3;

public int hashCode ()

public final boolean isInitialized ()

public static RunOptions.Experimental.Builder newBuilder ()

public static RunOptions.Experimental.Builder newBuilder (RunOptions.Experimental prototype)

public RunOptions.Experimental.Builder newBuilderForType ()

public static RunOptions.Experimental parseDelimitedFrom (InputStream input)

Throws
IOException

public static RunOptions.Experimental parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static RunOptions.Experimental parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static RunOptions.Experimental parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static RunOptions.Experimental parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static RunOptions.Experimental parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static RunOptions.Experimental parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static RunOptions.Experimental parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static RunOptions.Experimental parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static RunOptions.Experimental parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public RunOptions.Experimental.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException