RunOptions

public final class RunOptions

 Options for a single Run() call.
 
tensorflow.RunOptions tipo tensorflow.RunOptions

Classes aninhadas

aula RunOptions.Builder
 Options for a single Run() call. 
aula 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?
 
tensorflow.RunOptions.TraceLevel enum tensorflow.RunOptions.TraceLevel

Constantes

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

Métodos Públicos

boleano
igual a (objeto obj)
DebugOptions
getDebugOptions ()
 EXPERIMENTAL.
DebugOptionsOrBuilder
getDebugOptionsOrBuilder ()
 EXPERIMENTAL.
RunOptions estáticos
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.
boleano
getOutputPartitionGraphs ()
 Whether the partition graph(s) executed by the executor(s) should be
 outputted via RunMetadata.
boleano
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
longo
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
boleano
hasDebugOptions ()
 EXPERIMENTAL.
boleano
hasExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
int
final booleano
RunOptions.Builder estático
newBuilder (protótipo RunOptions )
RunOptions.Builder estático
RunOptions.Builder
RunOptions estáticos
parseDelimitedFrom (input InputStream)
RunOptions estáticos
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RunOptions estáticos
parseFrom (dados ByteBuffer)
RunOptions estáticos
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RunOptions estáticos
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RunOptions estáticos
parseFrom (com.google.protobuf.CodedInputStream input)
RunOptions estáticos
parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RunOptions estáticos
parseFrom (com.google.protobuf.ByteString data)
RunOptions estáticos
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RunOptions estáticos
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
RunOptions.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

public static final int DEBUG_OPTIONS_FIELD_NUMBER

Valor constante: 6

public static final int EXPERIMENTAL_FIELD_NUMBER

Valor constante: 8

público estático final int INTER_OP_THREAD_POOL_FIELD_NUMBER

Valor Constante: 3

public static final int OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER

Valor constante: 5

público estático final int REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER

Valor constante: 7

public static final int TIMEOUT_IN_MS_FIELD_NUMBER

Valor constante: 2

public static final int TRACE_LEVEL_FIELD_NUMBER

Valor Constante: 1

Métodos Públicos

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;

public RunOptions.ExperimentalOrBuilder getExperimentalOrBuilder ()

.tensorflow.RunOptions.Experimental experimental = 8;

public 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 boolean getOutputPartitionGraphs ()

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

público getParserForType ()

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;

public int getSerializedSize ()

public long getTimeoutInMs ()

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

public RunOptions.TraceLevel getTraceLevel ()

.tensorflow.RunOptions.TraceLevel trace_level = 1;

public int getTraceLevelValue ()

.tensorflow.RunOptions.TraceLevel trace_level = 1;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public boolean hasDebugOptions ()

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

public boolean hasExperimental ()

.tensorflow.RunOptions.Experimental experimental = 8;

public int hashCode ()

public final boolean isInitialized ()

public static RunOptions.Builder newBuilder (protótipo RunOptions )

public static RunOptions.Builder newBuilder ()

public RunOptions.Builder newBuilderForType ()

public static RunOptions parseDelimitedFrom (InputStream input)

Lança
IOException

public static RunOptions parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static RunOptions parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

public static RunOptions parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static RunOptions parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static RunOptions parseFrom (com.google.protobuf.CodedInputStream input)

Lança
IOException

public static RunOptions parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static RunOptions parseFrom (com.google.protobuf.ByteString data)

Lança
InvalidProtocolBufferException

public static RunOptions parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static RunOptions parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

public RunOptions.Builder toBuilder ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException