공개 정적 최종 클래스 RunOptions.Builder
Options for a single Run() call.Protobuf 유형
tensorflow.RunOptions
공개 방법
RunOptions.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
실행옵션 | 짓다 () |
실행옵션 | 빌드부분 () |
RunOptions.Builder | 분명한 () |
RunOptions.Builder | 클리어디버그옵션 () EXPERIMENTAL. |
RunOptions.Builder | 명확한실험적 () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드) |
RunOptions.Builder | 클리어InterOpThreadPool () 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 | 클리어트레이스레벨 () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
RunOptions.Builder | 클론 () |
디버그옵션 | getDebugOptions () EXPERIMENTAL. |
디버그옵션.빌더 | getDebugOptionsBuilder () EXPERIMENTAL. |
디버그옵션또는빌더 | getDebugOptionsOrBuilder () EXPERIMENTAL. |
실행옵션 | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
RunOptions.실험적 | getExperimental () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Experimental.Builder | getExperimentalBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.ExperimentalOrBuilder | getExperimentalOrBuilder () .tensorflow.RunOptions.Experimental experimental = 8; |
정수 | getInterOpThreadPool () The thread pool to use, if session_inter_op_thread_pool is configured. |
부울 | getOutputPartitionGraphs () Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
부울 | 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). |
긴 | getTimeoutInMs () Time to wait for operation to complete in milliseconds. |
RunOptions.TraceLevel | getTrace레벨 () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
정수 | getTraceLevelValue () .tensorflow.RunOptions.TraceLevel trace_level = 1; |
부울 | hasDebugOptions () EXPERIMENTAL. |
부울 | has실험적 () .tensorflow.RunOptions.Experimental experimental = 8; |
최종 부울 | 초기화됨 () |
RunOptions.Builder | |
RunOptions.Builder | mergeExperimental ( RunOptions.Experimental 값) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | mergeFrom (com.google.protobuf.다른 메시지 보내기) |
RunOptions.Builder | mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
최종 RunOptions.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields) |
RunOptions.Builder | |
RunOptions.Builder | |
RunOptions.Builder | setExperimental ( RunOptions.Experimental.Builder builderForValue) .tensorflow.RunOptions.Experimental experimental = 8; |
RunOptions.Builder | |
RunOptions.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
RunOptions.Builder | setInterOpThreadPool (정수 값) The thread pool to use, if session_inter_op_thread_pool is configured. |
RunOptions.Builder | setOutputPartitionGraphs (부울 값) Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata. |
RunOptions.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값) |
RunOptions.Builder | setReportTensorAllocationsUponOom (부울 값) 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 (긴 값) Time to wait for operation to complete in milliseconds. |
RunOptions.Builder | |
RunOptions.Builder | setTraceLevelValue (정수 값) .tensorflow.RunOptions.TraceLevel trace_level = 1; |
최종 RunOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
상속된 메서드
공개 방법
공개 RunOptions.Builder 클리어디버그 옵션 ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
공개 RunOptions.Builder 클리어InterOpThreadPool ()
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 ClearOutputPartitionGraphs ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
공개 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;
공개 RunOptions.Builder ClearTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
공개 DebugOptions getDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
공개 DebugOptions.Builder getDebugOptionsBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
공개 DebugOptionsOrBuilder getDebugOptionsOrBuilder ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
공개 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. 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 ()
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
공개 부울 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 ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
공개 int getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
공개 부울 hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
공개 부울 hasExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
공개 최종 부울 isInitialized ()
공개 RunOptions.Builder mergeDebugOptions ( DebugOptions 값)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
공개 RunOptions.Builder mergeExperimental ( RunOptions.Experimental 값)
.tensorflow.RunOptions.Experimental experimental = 8;
공개 RunOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 RunOptions.Builder setDebugOptions ( DebugOptions.Builder builderForValue)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
공개 RunOptions.Builder setDebugOptions ( DebugOptions 값)
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
공개 RunOptions.Builder setExperimental ( RunOptions.Experimental.Builder builderForValue)
.tensorflow.RunOptions.Experimental experimental = 8;
공개 RunOptions.Builder setExperimental ( RunOptions.Experimental 값)
.tensorflow.RunOptions.Experimental experimental = 8;
공개 RunOptions.Builder setInterOpThreadPool (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 setOutputPartitionGraphs (부울 값)
Whether the partition graph(s) executed by the executor(s) should be outputted via RunMetadata.
bool output_partition_graphs = 5;
공개 RunOptions.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)
공개 RunOptions.Builder setReportTensorAllocationsUponOom (부울 값)
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;
공개 RunOptions.Builder setTimeoutInMs (긴 값)
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
공개 RunOptions.Builder setTraceLevel ( RunOptions.TraceLevel 값)
.tensorflow.RunOptions.TraceLevel trace_level = 1;