공개 최종 클래스 RunOptions
Options for a single Run() call.Protobuf 유형
tensorflow.RunOptions
중첩 클래스
수업 | RunOptions.Builder | Options for a single Run() call. | |
수업 | RunOptions.실험적 | Everything inside Experimental is subject to change and is not subject to API stability guarantees in https://www.tensorflow.org/guide/version_compat. | |
인터페이스 | RunOptions.ExperimentalOrBuilder | ||
열거형 | RunOptions.TraceLevel | TODO(pbar) Turn this into a TraceOptions proto which allows tracing to be controlled in a more orthogonal manner?Protobuf 열거형 tensorflow.RunOptions.TraceLevel |
상수
공개 방법
불리언 | 같음 (객체 객체) |
디버그옵션 | getDebugOptions () EXPERIMENTAL. |
디버그옵션또는빌더 | getDebugOptionsOrBuilder () EXPERIMENTAL. |
정적 RunOptions | |
실행옵션 | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
RunOptions.실험적 | getExperimental () .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; |
최종 com.google.protobuf.UnknownFieldSet | |
불리언 | hasDebugOptions () EXPERIMENTAL. |
불리언 | 실험적 () .tensorflow.RunOptions.Experimental experimental = 8; |
정수 | 해시코드 () |
최종 부울 | 초기화됨 () |
정적 RunOptions.Builder | newBuilder ( RunOptions 프로토타입) |
정적 RunOptions.Builder | 새로운 빌더 () |
RunOptions.Builder | |
정적 RunOptions | parsDelimitedFrom (InputStream 입력) |
정적 RunOptions | parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 RunOptions | parsFrom (ByteBuffer 데이터) |
정적 RunOptions | ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 RunOptions | ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 RunOptions | ParseFrom (com.google.protobuf.CodedInputStream 입력) |
정적 RunOptions | parseFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry) |
정적 RunOptions | ParseFrom (com.google.protobuf.ByteString 데이터) |
정적 RunOptions | ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 RunOptions | ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
공전 | 파서 () |
RunOptions.Builder | toBuilder () |
무효의 | writeTo (com.google.protobuf.CodedOutputStream 출력) |
상속된 메서드
상수
공개 정적 최종 int DEBUG_OPTIONS_FIELD_NUMBER
상수값: 6
공개 정적 최종 int EXPERIMENTAL_FIELD_NUMBER
상수값: 8
공개 정적 최종 int INTER_OP_THREAD_POOL_FIELD_NUMBER
상수값: 3
공개 정적 최종 int OUTPUT_PARTITION_GRAPHS_FIELD_NUMBER
상수값: 5
공개 정적 최종 int REPORT_TENSOR_ALLOCATIONS_UPON_OOM_FIELD_NUMBER
상수값: 7
공개 정적 최종 int TIMEOUT_IN_MS_FIELD_NUMBER
상수값: 2
공개 정적 최종 int TRACE_LEVEL_FIELD_NUMBER
상수값: 1
공개 방법
공개 부울은 (객체 obj) 와 같습니다 .
공개 DebugOptions getDebugOptions ()
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 ()
공개 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;
공공의 getParserForType ()
공개 부울 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;
공개 int getSerializedSize ()
공개 긴 getTimeoutInMs ()
Time to wait for operation to complete in milliseconds.
int64 timeout_in_ms = 2;
공개 int getTraceLevelValue ()
.tensorflow.RunOptions.TraceLevel trace_level = 1;
공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()
공개 부울 hasDebugOptions ()
EXPERIMENTAL. Options used to initialize DebuggerState, if enabled.
.tensorflow.DebugOptions debug_options = 6;
공개 부울 hasExperimental ()
.tensorflow.RunOptions.Experimental experimental = 8;
공개 int hashCode ()
공개 최종 부울 isInitialized ()
공개 정적 RunOptionsparseDelimitedFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 RunOptionsparseFrom ( com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
IO예외 |
---|
공개 정적 RunOptions ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 RunOptions 구문 분석 (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 RunOptionsparseFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
IO예외 |
---|
공개 정적 RunOptions parseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 파서 ()
공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)
던지기
IO예외 |
---|