RunOptions.Builder

classe finale statique publique RunOptions.Builder

 Options for a single Run() call.
 
tensorflow.RunOptions de type Protobuf.RunOptions

Méthodes publiques

RunOptions.Builder
addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
Options d'exécution
Options d'exécution
RunOptions.Builder
clair ()
RunOptions.Builder
clearDebugOptions ()
 EXPERIMENTAL.
RunOptions.Builder
clearExpérimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder
clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)
RunOptions.Builder
clearInterOpThreadPool ()
 The thread pool to use, if session_inter_op_thread_pool is configured.
RunOptions.Builder
clearOneof (com.google.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
effacerTraceLevel ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
RunOptions.Builder
cloner ()
Options de débogage
getDebugOptions ()
 EXPERIMENTAL.
DebugOptions.Builder
getDebugOptionsBuilder ()
 EXPERIMENTAL.
DebugOptionsOrBuilder
getDebugOptionsOrBuilder ()
 EXPERIMENTAL.
Options d'exécution
final statique com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
RunOptions.Expérimental
getExpérimental ()
.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.
booléen
getOutputPartitionGraphs ()
 Whether the partition graph(s) executed by the executor(s) should be
 outputted via RunMetadata.
booléen
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;
booléen
hasDebugOptions ()
 EXPERIMENTAL.
booléen
aExpérimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
booléen final
RunOptions.Builder
mergeDebugOptions (valeur DebugOptions )
 EXPERIMENTAL.
RunOptions.Builder
mergeExperimental (valeur RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder
mergeFrom (com.google.protobuf.Message autre)
RunOptions.Builder
mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final RunOptions.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
RunOptions.Builder
setDebugOptions ( DebugOptions.Builder builderForValue)
 EXPERIMENTAL.
RunOptions.Builder
setDebugOptions (valeur DebugOptions )
 EXPERIMENTAL.
RunOptions.Builder
setExperimental ( RunOptions.Experimental.Builder builderForValue)
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder
setExperimental (valeur RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder
setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
RunOptions.Builder
setInterOpThreadPool (valeur entière)
 The thread pool to use, if session_inter_op_thread_pool is configured.
RunOptions.Builder
setOutputPartitionGraphs (valeur booléenne)
 Whether the partition graph(s) executed by the executor(s) should be
 outputted via RunMetadata.
RunOptions.Builder
setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
RunOptions.Builder
setReportTensorAllocationsUponOom (valeur booléenne)
 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 (valeur longue)
 Time to wait for operation to complete in milliseconds.
RunOptions.Builder
setTraceLevel (valeur RunOptions.TraceLevel )
.tensorflow.RunOptions.TraceLevel trace_level = 1;
RunOptions.Builder
setTraceLevelValue (valeur entière)
.tensorflow.RunOptions.TraceLevel trace_level = 1;
final RunOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)

Méthodes héritées

Méthodes publiques

public RunOptions.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

build public RunOptions ()

public RunOptions buildPartial ()

public RunOptions.Builder clear ()

public RunOptions.Builder clearDebugOptions ()

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

public RunOptions.Builder clearExperimental ()

.tensorflow.RunOptions.Experimental experimental = 8;

public RunOptions.Builder clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)

public RunOptions.Builder clearInterOpThreadPool ()

 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 RunOptions.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

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 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 RunOptions.Builder clearTimeoutInMs ()

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

public RunOptions.Builder clearTraceLevel ()

.tensorflow.RunOptions.TraceLevel trace_level = 1;

Clone public RunOptions.Builder ()

public DebugOptions getDebugOptions ()

 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;

public RunOptions getDefaultInstanceForType ()

public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public RunOptions.Experimental getExperimental ()

.tensorflow.RunOptions.Experimental experimental = 8;

public RunOptions.Experimental.Builder getExperimentalBuilder ()

.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 booléen getOutputPartitionGraphs ()

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

public booléen 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 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 booléen hasDebugOptions ()

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

public booléen hasExperimental ()

.tensorflow.RunOptions.Experimental experimental = 8;

public final booléen isInitialized ()

public RunOptions.Builder mergeDebugOptions (valeur DebugOptions )

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

public RunOptions.Builder mergeExperimental (valeur RunOptions.Experimental )

.tensorflow.RunOptions.Experimental experimental = 8;

public RunOptions.Builder mergeFrom (com.google.protobuf.Message autre)

public RunOptions.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public final RunOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public RunOptions.Builder setDebugOptions ( DebugOptions.Builder builderForValue)

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

public RunOptions.Builder setDebugOptions (valeur DebugOptions )

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

public RunOptions.Builder setExperimental ( RunOptions.Experimental.Builder builderForValue)

.tensorflow.RunOptions.Experimental experimental = 8;

public RunOptions.Builder setExperimental (valeur RunOptions.Experimental )

.tensorflow.RunOptions.Experimental experimental = 8;

public RunOptions.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

public RunOptions.Builder setInterOpThreadPool (valeur int)

 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 RunOptions.Builder setOutputPartitionGraphs (valeur booléenne)

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

public RunOptions.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)

public RunOptions.Builder setReportTensorAllocationsUponOom (valeur booléenne)

 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 setTimeoutInMs (valeur longue)

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

public RunOptions.Builder setTraceLevel (valeur RunOptions.TraceLevel )

.tensorflow.RunOptions.TraceLevel trace_level = 1;

public RunOptions.Builder setTraceLevelValue (valeur int)

.tensorflow.RunOptions.TraceLevel trace_level = 1;

public final RunOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)