public static final class RunOptions.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder> implements RunOptionsOrBuilder
Options for a single Run() call.Protobuf type
tensorflow.RunOptions| Modifier and Type | Method and Description |
|---|---|
RunOptions.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunOptions |
build() |
RunOptions |
buildPartial() |
RunOptions.Builder |
clear() |
RunOptions.Builder |
clearDebugOptions()
EXPERIMENTAL.
|
RunOptions.Builder |
clearExperimental()
.tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
RunOptions.Builder |
clearInterOpThreadPool()
The thread pool to use, if session_inter_op_thread_pool is configured.
|
RunOptions.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
RunOptions.Builder |
clearOutputPartitionGraphs()
Whether the partition graph(s) executed by the executor(s) should be
outputted via RunMetadata.
|
RunOptions.Builder |
clearReportTensorAllocationsUponOom()
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).
|
RunOptions.Builder |
clearTimeoutInMs()
Time to wait for operation to complete in milliseconds.
|
RunOptions.Builder |
clearTraceLevel()
.tensorflow.RunOptions.TraceLevel trace_level = 1; |
RunOptions.Builder |
clone() |
DebugOptions |
getDebugOptions()
EXPERIMENTAL.
|
DebugOptions.Builder |
getDebugOptionsBuilder()
EXPERIMENTAL.
|
DebugOptionsOrBuilder |
getDebugOptionsOrBuilder()
EXPERIMENTAL.
|
RunOptions |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RunOptions.Experimental |
getExperimental()
.tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Experimental.Builder |
getExperimentalBuilder()
.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).
|
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; |
boolean |
hasDebugOptions()
EXPERIMENTAL.
|
boolean |
hasExperimental()
.tensorflow.RunOptions.Experimental experimental = 8; |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RunOptions.Builder |
mergeDebugOptions(DebugOptions value)
EXPERIMENTAL.
|
RunOptions.Builder |
mergeExperimental(RunOptions.Experimental value)
.tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
RunOptions.Builder |
mergeFrom(RunOptions other) |
RunOptions.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
RunOptions.Builder |
setDebugOptions(DebugOptions.Builder builderForValue)
EXPERIMENTAL.
|
RunOptions.Builder |
setDebugOptions(DebugOptions value)
EXPERIMENTAL.
|
RunOptions.Builder |
setExperimental(RunOptions.Experimental.Builder builderForValue)
.tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder |
setExperimental(RunOptions.Experimental value)
.tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunOptions.Builder |
setInterOpThreadPool(int value)
The thread pool to use, if session_inter_op_thread_pool is configured.
|
RunOptions.Builder |
setOutputPartitionGraphs(boolean value)
Whether the partition graph(s) executed by the executor(s) should be
outputted via RunMetadata.
|
RunOptions.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RunOptions.Builder |
setReportTensorAllocationsUponOom(boolean value)
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).
|
RunOptions.Builder |
setTimeoutInMs(long value)
Time to wait for operation to complete in milliseconds.
|
RunOptions.Builder |
setTraceLevel(RunOptions.TraceLevel value)
.tensorflow.RunOptions.TraceLevel trace_level = 1; |
RunOptions.Builder |
setTraceLevelValue(int value)
.tensorflow.RunOptions.TraceLevel trace_level = 1; |
RunOptions.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>public RunOptions.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>public RunOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic RunOptions build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic RunOptions buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic RunOptions.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>public RunOptions.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>public RunOptions.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>public RunOptions.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>public RunOptions.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>public RunOptions.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>public RunOptions.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RunOptions.Builder>public RunOptions.Builder mergeFrom(RunOptions other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>public RunOptions.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<RunOptions.Builder>IOExceptionpublic int getTraceLevelValue()
.tensorflow.RunOptions.TraceLevel trace_level = 1;getTraceLevelValue in interface RunOptionsOrBuilderpublic RunOptions.Builder setTraceLevelValue(int value)
.tensorflow.RunOptions.TraceLevel trace_level = 1;public RunOptions.TraceLevel getTraceLevel()
.tensorflow.RunOptions.TraceLevel trace_level = 1;getTraceLevel in interface RunOptionsOrBuilderpublic RunOptions.Builder setTraceLevel(RunOptions.TraceLevel value)
.tensorflow.RunOptions.TraceLevel trace_level = 1;public RunOptions.Builder clearTraceLevel()
.tensorflow.RunOptions.TraceLevel trace_level = 1;public long getTimeoutInMs()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;getTimeoutInMs in interface RunOptionsOrBuilderpublic RunOptions.Builder setTimeoutInMs(long value)
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;public RunOptions.Builder clearTimeoutInMs()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;public int getInterOpThreadPool()
The thread pool to use, if session_inter_op_thread_pool is configured.
int32 inter_op_thread_pool = 3;getInterOpThreadPool in interface RunOptionsOrBuilderpublic RunOptions.Builder setInterOpThreadPool(int value)
The thread pool to use, if session_inter_op_thread_pool is configured.
int32 inter_op_thread_pool = 3;public RunOptions.Builder clearInterOpThreadPool()
The thread pool to use, if session_inter_op_thread_pool is configured.
int32 inter_op_thread_pool = 3;public boolean getOutputPartitionGraphs()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;getOutputPartitionGraphs in interface RunOptionsOrBuilderpublic RunOptions.Builder setOutputPartitionGraphs(boolean value)
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;public RunOptions.Builder clearOutputPartitionGraphs()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;public boolean hasDebugOptions()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;hasDebugOptions in interface RunOptionsOrBuilderpublic DebugOptions getDebugOptions()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;getDebugOptions in interface RunOptionsOrBuilderpublic RunOptions.Builder setDebugOptions(DebugOptions value)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;public RunOptions.Builder setDebugOptions(DebugOptions.Builder builderForValue)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;public RunOptions.Builder mergeDebugOptions(DebugOptions value)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;public RunOptions.Builder clearDebugOptions()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;public DebugOptions.Builder getDebugOptionsBuilder()
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;getDebugOptionsOrBuilder in interface RunOptionsOrBuilderpublic 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;getReportTensorAllocationsUponOom in interface RunOptionsOrBuilderpublic RunOptions.Builder setReportTensorAllocationsUponOom(boolean value)
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 RunOptions.Builder clearReportTensorAllocationsUponOom()
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 boolean hasExperimental()
.tensorflow.RunOptions.Experimental experimental = 8;hasExperimental in interface RunOptionsOrBuilderpublic RunOptions.Experimental getExperimental()
.tensorflow.RunOptions.Experimental experimental = 8;getExperimental in interface RunOptionsOrBuilderpublic RunOptions.Builder setExperimental(RunOptions.Experimental value)
.tensorflow.RunOptions.Experimental experimental = 8;public RunOptions.Builder setExperimental(RunOptions.Experimental.Builder builderForValue)
.tensorflow.RunOptions.Experimental experimental = 8;public RunOptions.Builder mergeExperimental(RunOptions.Experimental value)
.tensorflow.RunOptions.Experimental experimental = 8;public RunOptions.Builder clearExperimental()
.tensorflow.RunOptions.Experimental experimental = 8;public RunOptions.Experimental.Builder getExperimentalBuilder()
.tensorflow.RunOptions.Experimental experimental = 8;public RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder()
.tensorflow.RunOptions.Experimental experimental = 8;getExperimentalOrBuilder in interface RunOptionsOrBuilderpublic final RunOptions.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>public final RunOptions.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunOptions.Builder>Copyright © 2021. All rights reserved.