공개 최종 클래스 ProfileOptions
Next ID: 11
tensorflow.ProfileOptions
중첩 클래스
수업 | ProfileOptions.Builder | Next ID: 11 tensorflow.ProfileOptions | |
열거형 | ProfileOptions.DeviceType | Protobuf 열거형 tensorflow.ProfileOptions.DeviceType |
상수
공개 방법
부울 | 같음 (객체 객체) |
정적 프로필 옵션 | |
프로필옵션 | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
정수 | getDeviceTracer레벨 () Levels of device tracing: (version >= 1) - Level 0 is used to disable device traces. |
ProfileOptions.DeviceType | getDeviceType () Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
정수 | getDeviceTypeValue () Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
긴 | getDurationMs () The local profiler collects `duration_ms` milliseconds of data. |
부울 | getEnableHloProto () Whether serialize hlo_proto when XLA is used. |
정수 | getHostTracer레벨 () Levels of host tracing: (version >= 1) - Level 0 is used to disable host traces. |
부울 | getIncludeDatasetOps () We don't collect the dataset ops by default for better trace-viewer scalability. |
정수 | getPythonTracer레벨 () Whether enable python function calls tracing. |
끈 | getRepositoryPath () Directory to save profile data to. |
com.google.protobuf.ByteString | getRepositoryPathBytes () Directory to save profile data to. |
정수 | |
긴 | getStartTimestampNs () The local profiler starts profiling at this Unix timestamp in nanoseconds. |
최종 com.google.protobuf.UnknownFieldSet | |
정수 | 버전 획득 () Some default value of option are not proto3 default value. |
정수 | 해시코드 () |
최종 부울 | 초기화됨 () |
정적 ProfileOptions.Builder | newBuilder ( ProfileOptions 프로토타입) |
정적 ProfileOptions.Builder | 새로운 빌더 () |
ProfileOptions.Builder | |
정적 프로필 옵션 | parsDelimitedFrom (InputStream 입력) |
정적 프로필 옵션 | parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 프로필 옵션 | parsFrom (ByteBuffer 데이터) |
정적 프로필 옵션 | ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 프로필 옵션 | ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 프로필 옵션 | ParseFrom (com.google.protobuf.CodedInputStream 입력) |
정적 프로필 옵션 | parseFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry) |
정적 프로필 옵션 | ParseFrom (com.google.protobuf.ByteString 데이터) |
정적 프로필 옵션 | ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 프로필 옵션 | ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
공전 | 파서 () |
ProfileOptions.Builder | toBuilder () |
무효의 | writeTo (com.google.protobuf.CodedOutputStream 출력) |
상속된 메서드
상수
공개 정적 최종 int DEVICE_TRACER_LEVEL_FIELD_NUMBER
상수값: 3
공개 정적 최종 int DEVICE_TYPE_FIELD_NUMBER
상수값: 6
공개 정적 최종 int DURATION_MS_FIELD_NUMBER
상수값: 9
공개 정적 최종 int ENABLE_HLO_PROTO_FIELD_NUMBER
상수값: 7
공개 정적 최종 int HOST_TRACER_LEVEL_FIELD_NUMBER
상수값: 2
공개 정적 최종 int INCLUDE_DATASET_OPS_FIELD_NUMBER
상수값: 1
공개 정적 최종 int PYTHON_TRACER_LEVEL_FIELD_NUMBER
상수값: 4
공개 정적 최종 int REPOSITORY_PATH_FIELD_NUMBER
상수값: 10
공개 정적 최종 int START_TIMESTAMP_NS_FIELD_NUMBER
상수값: 8
공개 정적 최종 정수 VERSION_FIELD_NUMBER
상수값: 5
공개 방법
공개 부울은 (객체 obj) 와 같습니다 .
공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 int getDeviceTracerLevel ()
Levels of device tracing: (version >= 1) - Level 0 is used to disable device traces. - Level 1 is used to enable device traces. - More levels might be defined for specific device for controlling the verbosity of the trace.
uint32 device_tracer_level = 3;
공개 ProfileOptions.DeviceType getDeviceType ()
Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. DeviceType::CPU: only CPU will be profiled. DeviceType::GPU: only CPU/GPU will be profiled. DeviceType::TPU: only CPU/TPU will be profiled.
.tensorflow.ProfileOptions.DeviceType device_type = 6;
공개 int getDeviceTypeValue ()
Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. DeviceType::CPU: only CPU will be profiled. DeviceType::GPU: only CPU/GPU will be profiled. DeviceType::TPU: only CPU/TPU will be profiled.
.tensorflow.ProfileOptions.DeviceType device_type = 6;
공개 긴 getDurationMs ()
The local profiler collects `duration_ms` milliseconds of data. If the value is 0, profiling continues until interrupted.
uint64 duration_ms = 9;
공개 부울 getEnableHloProto ()
Whether serialize hlo_proto when XLA is used. (version >= 1)
bool enable_hlo_proto = 7;
공개 int getHostTracerLevel ()
Levels of host tracing: (version >= 1) - Level 0 is used to disable host traces. - Level 1 enables tracing of only user instrumented (or default) TraceMe. - Level 2 enables tracing of all level 1 TraceMe(s) and instrumented high level program execution details (expensive TF ops, XLA ops, etc). This is the default. - Level 3 enables tracing of all level 2 TraceMe(s) and more verbose (low-level) program execution details (cheap TF ops, etc).
uint32 host_tracer_level = 2;
공개 부울 getIncludeDatasetOps ()
We don't collect the dataset ops by default for better trace-viewer scalability. The caller can mannually set this field to include the ops.
bool include_dataset_ops = 1;
공공의 getParserForType ()
공개 int getPythonTracerLevel ()
Whether enable python function calls tracing. Runtime overhead ensues if enabled. Default off. (version >= 1)
uint32 python_tracer_level = 4;
공개 문자열 getRepositoryPath ()
Directory to save profile data to. No-op when empty.
string repository_path = 10;
공개 com.google.protobuf.ByteString getRepositoryPathBytes ()
Directory to save profile data to. No-op when empty.
string repository_path = 10;
공개 int getSerializedSize ()
공개 긴 getStartTimestampNs ()
The local profiler starts profiling at this Unix timestamp in nanoseconds.
uint64 start_timestamp_ns = 8;
공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()
공개 int getVersion ()
Some default value of option are not proto3 default value. Use this version to determine if we should use default option value instead of proto3 default value.
uint32 version = 5;
공개 int hashCode ()
공개 최종 부울 isInitialized ()
공개 정적 ProfileOptionsparseDelimitedFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ProfileOptionsparseFrom ( com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
IO예외 |
---|
공개 정적 ProfileOptions parseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 ProfileOptions parsFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 ProfileOptionsparseFrom ( InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ProfileOptionsparseFrom ( com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 파서 ()
공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)
던지기
IO예외 |
---|