ProfileOptions.Builder คลาสสุดท้ายแบบคงที่สาธารณะ
Next ID: 11Protobuf ประเภท
tensorflow.ProfileOptions
วิธีการสาธารณะ
ProfileOptions.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor ช่อง ค่าอ็อบเจ็กต์) |
ตัวเลือกโปรไฟล์ | สร้าง () |
ตัวเลือกโปรไฟล์ | สร้างบางส่วน () |
ProfileOptions.Builder | ชัดเจน () |
ProfileOptions.Builder | clearDeviceTracerLevel () Levels of device tracing: (version >= 1) - Level 0 is used to disable device traces. |
ProfileOptions.Builder | ล้างประเภทอุปกรณ์ () Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
ProfileOptions.Builder | clearDurationMs () The local profiler collects `duration_ms` milliseconds of data. |
ProfileOptions.Builder | clearEnableHloProto () Whether serialize hlo_proto when XLA is used. |
ProfileOptions.Builder | clearField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor) |
ProfileOptions.Builder | clearHostTracerLevel () Levels of host tracing: (version >= 1) - Level 0 is used to disable host traces. |
ProfileOptions.Builder | clearIncludeDatasetOps () We don't collect the dataset ops by default for better trace-viewer scalability. |
ProfileOptions.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ProfileOptions.Builder | clearPythonTracerLevel () Whether enable python function calls tracing. |
ProfileOptions.Builder | clearRepositoryPath () Directory to save profile data to. |
ProfileOptions.Builder | clearStartTimestampNs () The local profiler starts profiling at this Unix timestamp in nanoseconds. |
ProfileOptions.Builder | เคลียร์เวอร์ชัน () Some default value of option are not proto3 default value. |
ProfileOptions.Builder | โคลน () |
ตัวเลือกโปรไฟล์ | |
com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย | รับคำอธิบาย () |
com.google.protobuf.Descriptors.Descriptor | |
ภายใน | getDeviceTracerLevel () Levels of device tracing: (version >= 1) - Level 0 is used to disable device traces. |
ProfileOptions.DeviceType | รับประเภทอุปกรณ์ () 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. |
ภายใน | getHostTracerLevel () 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. |
ภายใน | getPythonTracerLevel () Whether enable python function calls tracing. |
สตริง | รับเส้นทางพื้นที่เก็บข้อมูล () 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. |
ภายใน | รับเวอร์ชัน () Some default value of option are not proto3 default value. |
บูลีนสุดท้าย | |
ProfileOptions.Builder | mergeFrom (com.google.protobuf.Message อื่น ๆ ) |
ProfileOptions.Builder | mergeFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ProfileOptions.Builder สุดท้าย | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ProfileOptions.Builder | setDeviceTracerLevel (ค่า int) Levels of device tracing: (version >= 1) - Level 0 is used to disable device traces. |
ProfileOptions.Builder | setDeviceType ( ค่า ProfileOptions.DeviceType ) Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
ProfileOptions.Builder | setDeviceTypeValue (ค่า int) Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
ProfileOptions.Builder | setDurationMs (ค่ายาว) The local profiler collects `duration_ms` milliseconds of data. |
ProfileOptions.Builder | setEnableHloProto (ค่าบูลีน) Whether serialize hlo_proto when XLA is used. |
ProfileOptions.Builder | setField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์) |
ProfileOptions.Builder | setHostTracerLevel (ค่า int) Levels of host tracing: (version >= 1) - Level 0 is used to disable host traces. |
ProfileOptions.Builder | setIncludeDatasetOps (ค่าบูลีน) We don't collect the dataset ops by default for better trace-viewer scalability. |
ProfileOptions.Builder | setPythonTracerLevel (ค่า int) Whether enable python function calls tracing. |
ProfileOptions.Builder | setRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor, ดัชนี int, ค่าอ็อบเจ็กต์) |
ProfileOptions.Builder | setRepositoryPath (ค่าสตริง) Directory to save profile data to. |
ProfileOptions.Builder | setRepositoryPathBytes (ค่า com.google.protobuf.ByteString) Directory to save profile data to. |
ProfileOptions.Builder | setStartTimestampNs (ค่ายาว) The local profiler starts profiling at this Unix timestamp in nanoseconds. |
ProfileOptions.Builder สุดท้าย | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ProfileOptions.Builder | setVersion (ค่า int) Some default value of option are not proto3 default value. |
วิธีการสืบทอด
วิธีการสาธารณะ
สาธารณะ ProfileOptions.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor ฟิลด์ ค่าอ็อบเจ็กต์)
ProfileOptions.Builder สาธารณะ clearDeviceTracerLevel ()
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.Builder สาธารณะ clearDeviceType ()
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;
ProfileOptions.Builder สาธารณะ clearDurationMs ()
The local profiler collects `duration_ms` milliseconds of data. If the value is 0, profiling continues until interrupted.
uint64 duration_ms = 9;
ProfileOptions.Builder สาธารณะ clearEnableHloProto ()
Whether serialize hlo_proto when XLA is used. (version >= 1)
bool enable_hlo_proto = 7;
ProfileOptions.Builder สาธารณะ clearHostTracerLevel ()
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;
ProfileOptions.Builder สาธารณะ clearIncludeDatasetOps ()
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;
ProfileOptions.Builder สาธารณะ clearPythonTracerLevel ()
Whether enable python function calls tracing. Runtime overhead ensues if enabled. Default off. (version >= 1)
uint32 python_tracer_level = 4;
ProfileOptions.Builder สาธารณะ clearRepositoryPath ()
Directory to save profile data to. No-op when empty.
string repository_path = 10;
ProfileOptions.Builder สาธารณะ clearStartTimestampNs ()
The local profiler starts profiling at this Unix timestamp in nanoseconds.
uint64 start_timestamp_ns = 8;
ProfileOptions.Builder สาธารณะ clearVersion ()
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;
สาธารณะคงที่สุดท้าย com.google.protobuf.Descriptors.Descriptor getDescriptor ()
สาธารณะ com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
สาธารณะ 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;
สาธารณะ 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;
สาธารณะ getStartTimestampNs ยาว ()
The local profiler starts profiling at this Unix timestamp in nanoseconds.
uint64 start_timestamp_ns = 8;
สาธารณะ 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;
บูลีนสุดท้ายสาธารณะ isInitialized ()
ProfileOptions.Builder สาธารณะ ผสานจาก (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ขว้าง
IOข้อยกเว้น |
---|
ProfileOptions สุดท้ายสาธารณะ ตัวสร้างผสาน UnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
ProfileOptions.Builder สาธารณะ setDeviceTracerLevel (ค่า int)
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.Builder setDeviceType ( ค่า ProfileOptions.DeviceType )
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;
ProfileOptions.Builder สาธารณะ setDeviceTypeValue (ค่า int)
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;
ProfileOptions.Builder สาธารณะ setDurationMs (ค่ายาว)
The local profiler collects `duration_ms` milliseconds of data. If the value is 0, profiling continues until interrupted.
uint64 duration_ms = 9;
ProfileOptions.Builder สาธารณะ setEnableHloProto (ค่าบูลีน)
Whether serialize hlo_proto when XLA is used. (version >= 1)
bool enable_hlo_proto = 7;
สาธารณะ ProfileOptions.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor ฟิลด์ ค่าอ็อบเจ็กต์)
ProfileOptions.Builder สาธารณะ setHostTracerLevel (ค่า int)
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;
ProfileOptions.Builder สาธารณะ setIncludeDatasetOps (ค่าบูลีน)
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;
ProfileOptions.Builder สาธารณะ setPythonTracerLevel (ค่า int)
Whether enable python function calls tracing. Runtime overhead ensues if enabled. Default off. (version >= 1)
uint32 python_tracer_level = 4;
สาธารณะ ProfileOptions.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor ฟิลด์ ดัชนี int ค่าอ็อบเจ็กต์)
ProfileOptions.Builder สาธารณะ setRepositoryPath (ค่าสตริง)
Directory to save profile data to. No-op when empty.
string repository_path = 10;
ProfileOptions.Builder สาธารณะ setRepositoryPathBytes (ค่า com.google.protobuf.ByteString)
Directory to save profile data to. No-op when empty.
string repository_path = 10;
ProfileOptions.Builder สาธารณะ setStartTimestampNs (ค่ายาว)
The local profiler starts profiling at this Unix timestamp in nanoseconds.
uint64 start_timestamp_ns = 8;
ProfileOptions.Builder setUnknownFields สุดท้าย สาธารณะ (com.google.protobuf.UnknownFieldSetknownFields)
ProfileOptions.Builder setVersion สาธารณะ (ค่า int)
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;