Options for a single Run() call.Protobuf tipo
tensorflow.RunOptions
Métodos públicos
EjecutarOpciones.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
Opciones de ejecución | construir () |
Opciones de ejecución | |
EjecutarOpciones.Builder | claro () |
EjecutarOpciones.Builder | borrar opciones de depuración () EXPERIMENTAL. |
EjecutarOpciones.Builder | claroExperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
EjecutarOpciones.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
EjecutarOpciones.Builder | borrarInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
EjecutarOpciones.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
EjecutarOpciones.Builder | borrarOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
EjecutarOpciones.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). |
EjecutarOpciones.Builder | borrarTimeoutInMs () Time to wait for operation to complete in milliseconds. |
EjecutarOpciones.Builder | borrarTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
EjecutarOpciones.Builder | clonar () |
Opciones de depuración | getDebugOptions () EXPERIMENTAL. |
Opciones de depuración.Builder | getDebugOptionsBuilder () EXPERIMENTAL. |
Opciones de depuración o constructor | getDebugOptionsOrBuilder () EXPERIMENTAL. |
Opciones de ejecución | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
Opciones de ejecución.Experimental | obtenerExperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Experimental.Builder | getExperimentalBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.ExperimentalOrBuilder | getExperimentalOrBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
entero | getInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
booleano | getOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
booleano | 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). |
largo | getTimeoutInMs () Time to wait for operation to complete in milliseconds. |
RunOptions.TraceLevel | obtener nivel de seguimiento () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
entero | getTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
booleano | tieneDebugOptions () EXPERIMENTAL. |
booleano | tieneExperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
booleano final | |
EjecutarOpciones.Builder | |
EjecutarOpciones.Builder | mergeExperimental ( RunOptions.Valor experimental ) .tensorflow.RunOptions.Experimental experimental = 8; |
EjecutarOpciones.Builder | mergeFrom (com.google.protobuf.Message otro) |
EjecutarOpciones.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
Opciones de ejecución finales.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
EjecutarOpciones.Builder | |
EjecutarOpciones.Builder | |
EjecutarOpciones.Builder | setExperimental ( RunOptions.Experimental.Builder builderForValue) .tensorflow.RunOptions.Experimental experimental = 8; |
EjecutarOpciones.Builder | setExperimental ( RunOptions.Valor experimental ) .tensorflow.RunOptions.Experimental experimental = 8; |
EjecutarOpciones.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
EjecutarOpciones.Builder | setInterOpThreadPool (valor int) The thread pool to use, if session_inter_op_thread_pool is configured. |
EjecutarOpciones.Builder | setOutputPartitionGraphs (valor booleano) Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
EjecutarOpciones.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
EjecutarOpciones.Builder | setReportTensorAllocationsUponOom (valor booleano) 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). |
EjecutarOpciones.Builder | setTimeoutInMs (valor largo) Time to wait for operation to complete in milliseconds. |
EjecutarOpciones.Builder | |
EjecutarOpciones.Builder | setTraceLevelValue (valor int) .tensorflow.RunOptions.TraceLevel trace_level = 1; |
Opciones de ejecución finales.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Métodos heredados
Métodos públicos
public RunOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
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;
pública 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 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;
pública RunOptions.Builder clearTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
opciones de depuración públicas getDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
público DebugOptions.Builder getDebugOptionsBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
público DebugOptionsOrBuilder getDebugOptionsOrBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público 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;
público 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;
getOutputPartitionGraphs booleano público ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
getReportTensorAllocationsUponOom público booleano ()
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;
público largo getTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
público int getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
hasDebugOptions público booleano ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
hasExperimental público booleano ()
.tensorflow.RunOptions.Experimental experimental = 8;
público final booleano isInitialized ()
runOptions.Builder público mergeDebugOptions (valor de DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
RunOptions.Builder público mergeExperimental (valor RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
RunOptions.Builder público mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry)
Lanza
IOExcepción |
---|
RunOptions.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
público RunOptions.Builder setDebugOptions ( DebugOptions.Builder builderForValue)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
runOptions.Builder público setDebugOptions (valor de DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
público RunOptions.Builder setExperimental ( RunOptions.Experimental.Builder builderForValue)
.tensorflow.RunOptions.Experimental experimental = 8;
público RunOptions.Builder setExperimental (valor RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
público RunOptions.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
público RunOptions.Builder setInterOpThreadPool (valor 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;
RunOptions.Builder público setOutputPartitionGraphs (valor booleano)
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
public RunOptions.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto)
público RunOptions.Builder setReportTensorAllocationsUponOom (valor booleano)
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 (valor largo)
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
público RunOptions.Builder setTraceLevel (valor RunOptions.TraceLevel )
.tensorflow.RunOptions.TraceLevel trace_level = 1;
RunOptions.Builder público setTraceLevelValue (valor int)
.tensorflow.RunOptions.TraceLevel trace_level = 1;