public final class RunOptions extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements RunOptionsOrBuilder
Options for a single Run() call.Protobuf type
tensorflow.RunOptions
Modifier and Type | Class and Description |
---|---|
static class |
RunOptions.Builder
Options for a single Run() call.
|
static 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.
|
static interface |
RunOptions.ExperimentalOrBuilder |
static class |
RunOptions.TraceLevel
TODO(pbar) Turn this into a TraceOptions proto which allows
tracing to be controlled in a more orthogonal manner?
|
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG_OPTIONS_FIELD_NUMBER |
static int |
EXPERIMENTAL_FIELD_NUMBER |
static int |
INTER_OP_THREAD_POOL_FIELD_NUMBER |
static int |
OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER |
static int |
REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER |
static int |
TIMEOUT_IN_MS_FIELD_NUMBER |
static int |
TRACE_LEVEL_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DebugOptions |
getDebugOptions()
EXPERIMENTAL.
|
DebugOptionsOrBuilder |
getDebugOptionsOrBuilder()
EXPERIMENTAL.
|
static RunOptions |
getDefaultInstance() |
RunOptions |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
org.nd4j.shade.protobuf.Parser<RunOptions> |
getParserForType() |
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 |
getSerializedSize() |
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; |
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDebugOptions()
EXPERIMENTAL.
|
boolean |
hasExperimental()
.tensorflow.RunOptions.Experimental experimental = 8; |
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RunOptions.Builder |
newBuilder() |
static RunOptions.Builder |
newBuilder(RunOptions prototype) |
RunOptions.Builder |
newBuilderForType() |
protected RunOptions.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RunOptions |
parseDelimitedFrom(InputStream input) |
static RunOptions |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunOptions |
parseFrom(byte[] data) |
static RunOptions |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunOptions |
parseFrom(ByteBuffer data) |
static RunOptions |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunOptions |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static RunOptions |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunOptions |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static RunOptions |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunOptions |
parseFrom(InputStream input) |
static RunOptions |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<RunOptions> |
parser() |
RunOptions.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int TRACE_LEVEL_FIELD_NUMBER
public static final int TIMEOUT_IN_MS_FIELD_NUMBER
public static final int INTER_OP_THREAD_POOL_FIELD_NUMBER
public static final int OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER
public static final int DEBUG_OPTIONS_FIELD_NUMBER
public static final int REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER
public static final int EXPERIMENTAL_FIELD_NUMBER
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public 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
public int getTraceLevelValue()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
getTraceLevelValue
in interface RunOptionsOrBuilder
public RunOptions.TraceLevel getTraceLevel()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
getTraceLevel
in interface RunOptionsOrBuilder
public long getTimeoutInMs()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
getTimeoutInMs
in interface RunOptionsOrBuilder
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 RunOptionsOrBuilder
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 RunOptionsOrBuilder
public boolean hasDebugOptions()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
hasDebugOptions
in interface RunOptionsOrBuilder
public DebugOptions getDebugOptions()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
getDebugOptions
in interface RunOptionsOrBuilder
public DebugOptionsOrBuilder getDebugOptionsOrBuilder()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
getDebugOptionsOrBuilder
in interface RunOptionsOrBuilder
public 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 RunOptionsOrBuilder
public boolean hasExperimental()
.tensorflow.RunOptions.Experimental experimental = 8;
hasExperimental
in interface RunOptionsOrBuilder
public RunOptions.Experimental getExperimental()
.tensorflow.RunOptions.Experimental experimental = 8;
getExperimental
in interface RunOptionsOrBuilder
public RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder()
.tensorflow.RunOptions.Experimental experimental = 8;
getExperimentalOrBuilder
in interface RunOptionsOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static RunOptions parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RunOptions parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RunOptions parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RunOptions parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RunOptions parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RunOptions parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static RunOptions parseFrom(InputStream input) throws IOException
IOException
public static RunOptions parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RunOptions parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RunOptions parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RunOptions parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static RunOptions parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RunOptions.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static RunOptions.Builder newBuilder()
public static RunOptions.Builder newBuilder(RunOptions prototype)
public RunOptions.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected RunOptions.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static RunOptions getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<RunOptions> parser()
public org.nd4j.shade.protobuf.Parser<RunOptions> getParserForType()
getParserForType
in interface org.nd4j.shade.protobuf.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public RunOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2021. All rights reserved.