RunOptions

public final class RunOptions

 Options for a single Run() call.
 
Protobuf type tensorflow.RunOptions

Nested Classes

class RunOptions.Builder
 Options for a single Run() call. 
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. 
interface RunOptions.ExperimentalOrBuilder  
enum RunOptions.TraceLevel
 TODO(pbar) Turn this into a TraceOptions proto which allows
 tracing to be controlled in a more orthogonal manner?
 
Protobuf enum tensorflow.RunOptions.TraceLevel  

Constants

int DEBUG_OPTIONS_FIELD_NUMBER
int EXPERIMENTAL_FIELD_NUMBER
int INTER_OP_THREAD_POOL_FIELD_NUMBER
int OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER
int REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER
int TIMEOUT_IN_MS_FIELD_NUMBER
int TRACE_LEVEL_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
DebugOptions
getDebugOptions()
 EXPERIMENTAL.
DebugOptionsOrBuilder
getDebugOptionsOrBuilder()
 EXPERIMENTAL.
static RunOptions
RunOptions
final static com.google.protobuf.Descriptors.Descriptor
RunOptions.Experimental
getExperimental()
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.ExperimentalOrBuilder
getExperimentalOrBuilder()
.tensorflow.RunOptions.Experimental experimental = 8;
int
getInterOpThreadPool()
 The thread pool to use, if session_inter_op_thread_pool is configured.
boolean
getOutputPartitionGraphs()
 Whether the partition graph(s) executed by the executor(s) should be
 outputted via RunMetadata.
boolean
getReportTensorAllocationsUponOom()
 When enabled, causes tensor allocation information to be included in
 the error message when the Run() call fails because the allocator ran
 out of memory (OOM).
int
long
getTimeoutInMs()
 Time to wait for operation to complete in milliseconds.
RunOptions.TraceLevel
getTraceLevel()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
int
getTraceLevelValue()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
final com.google.protobuf.UnknownFieldSet
boolean
hasDebugOptions()
 EXPERIMENTAL.
boolean
hasExperimental()
.tensorflow.RunOptions.Experimental experimental = 8;
int
final boolean
static RunOptions.Builder
newBuilder(RunOptions prototype)
static RunOptions.Builder
RunOptions.Builder
static RunOptions
parseDelimitedFrom(InputStream input)
static RunOptions
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RunOptions
parseFrom(ByteBuffer data)
static RunOptions
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RunOptions
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RunOptions
parseFrom(com.google.protobuf.CodedInputStream input)
static RunOptions
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RunOptions
parseFrom(com.google.protobuf.ByteString data)
static RunOptions
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RunOptions
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
RunOptions.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int DEBUG_OPTIONS_FIELD_NUMBER

Constant Value: 6

public static final int EXPERIMENTAL_FIELD_NUMBER

Constant Value: 8

public static final int INTER_OP_THREAD_POOL_FIELD_NUMBER

Constant Value: 3

public static final int OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER

Constant Value: 5

public static final int REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER

Constant Value: 7

public static final int TIMEOUT_IN_MS_FIELD_NUMBER

Constant Value: 2

public static final int TRACE_LEVEL_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public DebugOptions getDebugOptions ()

 EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
 
.tensorflow.DebugOptions debug_options = 6;

public DebugOptionsOrBuilder getDebugOptionsOrBuilder ()

 EXPERIMENTAL.  Options used to initialize DebuggerState, if enabled.
 
.tensorflow.DebugOptions debug_options = 6;

public static RunOptions getDefaultInstance ()

public RunOptions getDefaultInstanceForType ()

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

public RunOptions.Experimental getExperimental ()

.tensorflow.RunOptions.Experimental experimental = 8;