Options for a single Run() call.Tipo de protobuf
tensorflow.RunOptions
Métodos Públicos
RunOptions.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
Opções de execução | construir () |
Opções de execução | |
RunOptions.Builder | claro () |
RunOptions.Builder | clearDebugOptions () EXPERIMENTAL. |
RunOptions.Builder | limparExperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | clearField (campo 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 umof) |
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 | clonar () |
Opções de depuração | getDebugOptions () EXPERIMENTAL. |
DebugOptions.Builder | getDebugOptionsBuilder () EXPERIMENTAL. |
DebugOptionsOrBuilder | getDebugOptionsOrBuilder () EXPERIMENTAL. |
Opções de execução | |
final estático com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
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; |
interno | 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). |
longo | getTimeoutInMs () Time to wait for operation to complete in milliseconds. |
RunOptions.TraceLevel | getTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
interno | getTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
booleano | hasDebugOptions () EXPERIMENTAL. |
booleano | temExperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
booleano final | |
RunOptions.Builder | |
RunOptions.Builder | mergeExperimental (valor RunOptions.Experimental ) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | mergeFrom (com.google.protobuf.Message outro) |
RunOptions.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions.Builder final | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
RunOptions.Builder | |
RunOptions.Builder | |
RunOptions.Builder | setExperimental ( RunOptions.Experimental.Builder construtorForValue) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setExperimental (valor RunOptions.Experimental ) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
RunOptions.Builder | setInterOpThreadPool (valor interno) The thread pool to use, if session_inter_op_thread_pool is configured. |
RunOptions.Builder | setOutputPartitionGraphs (valor booleano) Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
RunOptions.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
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). |
RunOptions.Builder | setTimeoutInMs (valor longo) Time to wait for operation to complete in milliseconds. |
RunOptions.Builder | |
RunOptions.Builder | setTraceLevelValue (valor interno) .tensorflow.RunOptions.TraceLevel trace_level = 1; |
RunOptions.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
Métodos herdados
Métodos Públicos
public RunOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
público 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úblico 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;
público RunOptions.Builder clearOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
público 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úblico RunOptions.Builder clearTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
DebugOptions públicas 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;
final estático público 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;
publicint 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;
público 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). Enabling this option can slow down the Run() call.
bool report_tensor_allocations_upon_oom = 7;
getTimeoutInMs longo público ()
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 booleano público ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
has booleano públicoExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
público final booleano isInitialized ()
public RunOptions.Builder mergeDebugOptions (valor DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public RunOptions.Builder mergeExperimental (valor RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público final RunOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
público RunOptions.Builder setDebugOptions ( DebugOptions.Builder builderForValue)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public RunOptions.Builder setDebugOptions (valor 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;
public RunOptions.Builder setExperimental (valor RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do 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;
public RunOptions.Builder 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 do objeto)
public 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;
público RunOptions.Builder setTimeoutInMs (valor longo)
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;
público RunOptions.Builder setTraceLevelValue (valor int)
.tensorflow.RunOptions.TraceLevel trace_level = 1;
público final RunOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
Options for a single Run() call.Tipo de protobuf
tensorflow.RunOptions
Métodos Públicos
RunOptions.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
Opções de execução | construir () |
Opções de execução | |
RunOptions.Builder | claro () |
RunOptions.Builder | clearDebugOptions () EXPERIMENTAL. |
RunOptions.Builder | limparExperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | clearField (campo 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 umof) |
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 | clonar () |
Opções de depuração | getDebugOptions () EXPERIMENTAL. |
DebugOptions.Builder | getDebugOptionsBuilder () EXPERIMENTAL. |
DebugOptionsOrBuilder | getDebugOptionsOrBuilder () EXPERIMENTAL. |
Opções de execução | |
final estático com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
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; |
interno | 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). |
longo | getTimeoutInMs () Time to wait for operation to complete in milliseconds. |
RunOptions.TraceLevel | getTraceLevel () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
interno | getTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
booleano | hasDebugOptions () EXPERIMENTAL. |
booleano | temExperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
booleano final | |
RunOptions.Builder | |
RunOptions.Builder | mergeExperimental (valor RunOptions.Experimental ) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | mergeFrom (com.google.protobuf.Message outro) |
RunOptions.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunOptions.Builder final | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
RunOptions.Builder | |
RunOptions.Builder | |
RunOptions.Builder | setExperimental ( RunOptions.Experimental.Builder construtorForValue) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setExperimental (valor RunOptions.Experimental ) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
RunOptions.Builder | setInterOpThreadPool (valor interno) The thread pool to use, if session_inter_op_thread_pool is configured. |
RunOptions.Builder | setOutputPartitionGraphs (valor booleano) Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
RunOptions.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
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). |
RunOptions.Builder | setTimeoutInMs (valor longo) Time to wait for operation to complete in milliseconds. |
RunOptions.Builder | |
RunOptions.Builder | setTraceLevelValue (valor interno) .tensorflow.RunOptions.TraceLevel trace_level = 1; |
RunOptions.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
Métodos herdados
Métodos Públicos
public RunOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
público 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úblico 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;
público RunOptions.Builder clearOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
público 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úblico RunOptions.Builder clearTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
DebugOptions públicas 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;
final estático público 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;
publicint 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;
público 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). Enabling this option can slow down the Run() call.
bool report_tensor_allocations_upon_oom = 7;
getTimeoutInMs longo público ()
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 booleano público ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
has booleano públicoExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
público final booleano isInitialized ()
public RunOptions.Builder mergeDebugOptions (valor DebugOptions )
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public RunOptions.Builder mergeExperimental (valor RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público final RunOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
público RunOptions.Builder setDebugOptions ( DebugOptions.Builder builderForValue)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
public RunOptions.Builder setDebugOptions (valor 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;
public RunOptions.Builder setExperimental (valor RunOptions.Experimental )
.tensorflow.RunOptions.Experimental experimental = 8;
public RunOptions.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do 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;
public RunOptions.Builder 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 do objeto)
public 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;
público RunOptions.Builder setTimeoutInMs (valor longo)
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;
público RunOptions.Builder setTraceLevelValue (valor int)
.tensorflow.RunOptions.TraceLevel trace_level = 1;