общедоступный статический конечный класс ProfileOptions.Builder
Next ID: 11
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 | очиститьEnableHloProto () Whether serialize hlo_proto when XLA is used. |
ProfileOptions.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
ProfileOptions.Builder | очиститьHostTracerLevel () 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 | очиститьPythonTracerLevel () Whether enable python function calls tracing. |
ProfileOptions.Builder | ОчиститьРепозиторийПуть () 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 | 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. |
интервал | 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 (целое значение) 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 (целое значение) 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 (целое значение) 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 (целое значение) 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 (целое значение) Some default value of option are not proto3 default value. |
Унаследованные методы
Публичные методы
public 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 ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor)
общедоступный 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 ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
общедоступный 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 ()
public 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;
public 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;
public 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;
public 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;
public 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;
public 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 ()
public ProfileOptions.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный окончательный ProfileOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ProfileOptions.Builder setDeviceTracerLevel (целое значение)
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;
public 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;
public ProfileOptions.Builder setDeviceTypeValue (целое значение)
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;
public 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;
public ProfileOptions.Builder setEnableHloProto (логическое значение)
Whether serialize hlo_proto when XLA is used. (version >= 1)
bool enable_hlo_proto = 7;
public ProfileOptions.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public ProfileOptions.Builder setHostTracerLevel (целое значение)
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;
public 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;
public ProfileOptions.Builder setPythonTracerLevel (целое значение)
Whether enable python function calls tracing. Runtime overhead ensues if enabled. Default off. (version >= 1)
uint32 python_tracer_level = 4;
public ProfileOptions.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
public ProfileOptions.Builder setRepositoryPath (строковое значение)
Directory to save profile data to. No-op when empty.
string repository_path = 10;
public ProfileOptions.Builder setRepositoryPathBytes (значение com.google.protobuf.ByteString)
Directory to save profile data to. No-op when empty.
string repository_path = 10;
public 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)
public ProfileOptions.Builder setVersion (целое значение)
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;