RunOptionsOrBuilder

public interface RunOptionsOrBuilder
Known Indirect Subclasses

Public Methods

abstract DebugOptions
getDebugOptions()
 EXPERIMENTAL.
abstract DebugOptionsOrBuilder
getDebugOptionsOrBuilder()
 EXPERIMENTAL.
abstract RunOptions.Experimental
getExperimental()
.tensorflow.RunOptions.Experimental experimental = 8;
abstract RunOptions.ExperimentalOrBuilder
getExperimentalOrBuilder()
.tensorflow.RunOptions.Experimental experimental = 8;
abstract int
getInterOpThreadPool()
 The thread pool to use, if session_inter_op_thread_pool is configured.
abstract boolean
getOutputPartitionGraphs()
 Whether the partition graph(s) executed by the executor(s) should be
 outputted via RunMetadata.
abstract 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).
abstract long
getTimeoutInMs()
 Time to wait for operation to complete in milliseconds.
abstract RunOptions.TraceLevel
getTraceLevel()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
abstract int
getTraceLevelValue()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
abstract boolean
hasDebugOptions()
 EXPERIMENTAL.
abstract boolean
hasExperimental()
.tensorflow.RunOptions.Experimental experimental = 8;

Public Methods

public abstract DebugOptions getDebugOptions ()

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

public abstract DebugOptionsOrBuilder getDebugOptionsOrBuilder ()

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

public abstract RunOptions.Experimental getExperimental ()

.tensorflow.RunOptions.Experimental experimental = 8;

public abstract RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder ()

.tensorflow.RunOptions.Experimental experimental = 8;

public abstract int getInterOpThreadPool ()

 The thread pool to use, if session_inter_op_thread_pool is configured.
 To use the caller thread set this to -1 - this uses the caller thread
 to execute Session::Run() and thus avoids a context switch. Using the
 caller thread to execute Session::Run() should be done ONLY for simple
 graphs, where the overhead of an additional context switch is
 comparable with the overhead of Session::Run().
 
int32 inter_op_thread_pool = 3;

public abstract boolean getOutputPartitionGraphs ()

 Whether the partition graph(s) executed by the executor(s) should be
 outputted via RunMetadata.
 
bool output_partition_graphs = 5;

public abstract 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).
 Enabling this option can slow down the Run() call.
 
bool report_tensor_allocations_upon_oom = 7;

public abstract long getTimeoutInMs ()

 Time to wait for operation to complete in milliseconds.
 
int64 timeout_in_ms = 2;

public abstract RunOptions.TraceLevel getTraceLevel ()

.tensorflow.RunOptions.TraceLevel trace_level = 1;

public abstract int getTraceLevelValue ()

.tensorflow.RunOptions.TraceLevel trace_level = 1;

public abstract boolean hasDebugOptions ()

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

public abstract boolean hasExperimental ()

.tensorflow.RunOptions.Experimental experimental = 8;