Package org.platanios.tensorflow.proto
Interface RunOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RunOptions
,RunOptions.Builder
public interface RunOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DebugOptions
getDebugOptions()
EXPERIMENTAL.DebugOptionsOrBuilder
getDebugOptionsOrBuilder()
EXPERIMENTAL.RunOptions.Experimental
getExperimental()
.org.platanios.tensorflow.proto.RunOptions.Experimental experimental = 8;
RunOptions.ExperimentalOrBuilder
getExperimentalOrBuilder()
.org.platanios.tensorflow.proto.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).long
getTimeoutInMs()
Time to wait for operation to complete in milliseconds.RunOptions.TraceLevel
getTraceLevel()
.org.platanios.tensorflow.proto.RunOptions.TraceLevel trace_level = 1;
int
getTraceLevelValue()
.org.platanios.tensorflow.proto.RunOptions.TraceLevel trace_level = 1;
boolean
hasDebugOptions()
EXPERIMENTAL.boolean
hasExperimental()
.org.platanios.tensorflow.proto.RunOptions.Experimental experimental = 8;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTraceLevelValue
int getTraceLevelValue()
.org.platanios.tensorflow.proto.RunOptions.TraceLevel trace_level = 1;
- Returns:
- The enum numeric value on the wire for traceLevel.
-
getTraceLevel
RunOptions.TraceLevel getTraceLevel()
.org.platanios.tensorflow.proto.RunOptions.TraceLevel trace_level = 1;
- Returns:
- The traceLevel.
-
getTimeoutInMs
long getTimeoutInMs()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
- Returns:
- The timeoutInMs.
-
getInterOpThreadPool
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;
- Returns:
- The interOpThreadPool.
-
getOutputPartitionGraphs
boolean getOutputPartitionGraphs()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
- Returns:
- The outputPartitionGraphs.
-
hasDebugOptions
boolean hasDebugOptions()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.org.platanios.tensorflow.proto.DebugOptions debug_options = 6;
- Returns:
- Whether the debugOptions field is set.
-
getDebugOptions
DebugOptions getDebugOptions()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.org.platanios.tensorflow.proto.DebugOptions debug_options = 6;
- Returns:
- The debugOptions.
-
getDebugOptionsOrBuilder
DebugOptionsOrBuilder getDebugOptionsOrBuilder()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.org.platanios.tensorflow.proto.DebugOptions debug_options = 6;
-
getReportTensorAllocationsUponOom
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;
- Returns:
- The reportTensorAllocationsUponOom.
-
hasExperimental
boolean hasExperimental()
.org.platanios.tensorflow.proto.RunOptions.Experimental experimental = 8;
- Returns:
- Whether the experimental field is set.
-
getExperimental
RunOptions.Experimental getExperimental()
.org.platanios.tensorflow.proto.RunOptions.Experimental experimental = 8;
- Returns:
- The experimental.
-
getExperimentalOrBuilder
RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder()
.org.platanios.tensorflow.proto.RunOptions.Experimental experimental = 8;
-
-