کلاس نهایی استاتیک عمومی ProfileOptions.Builder
Next ID: 11
tensorflow.ProfileOptions
روش های عمومی
ProfileOptions.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
گزینه های پروفایل | ساختن () |
گزینه های پروفایل | ساخت جزئی () |
ProfileOptions.Builder | روشن () |
ProfileOptions.Builder | clearDeviceTracerLevel () Levels of device tracing: (version >= 1) - Level 0 is used to disable device traces. |
ProfileOptions.Builder | clearDeviceType () 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 | clearVersion () Some default value of option are not proto3 default value. |
ProfileOptions.Builder | کلون () |
گزینه های پروفایل | |
نهایی static 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. |
رشته | 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. |
بین المللی | getVersion () Some default value of option are not proto3 default value. |
بولی نهایی | |
ProfileOptions.Builder | mergeFrom (com.google.protobuf.Message other) |
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 فیلد، مقدار Object) |
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، مقدار Object) |
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. |
روش های ارثی
روش های عمومی
public ProfileOptions.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
public 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;
public 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;
public 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;
Public ProfileOptions.Builder clearEnableHloProto ()
Whether serialize hlo_proto when XLA is used. (version >= 1)
bool enable_hlo_proto = 7;
public 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;
public 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;
Public ProfileOptions.Builder clearPythonTracerLevel ()
Whether enable python function calls tracing. Runtime overhead ensues if enabled. Default off. (version >= 1)
uint32 python_tracer_level = 4;
Public ProfileOptions.Builder clearRepositoryPath ()
Directory to save profile data to. No-op when empty.
string repository_path = 10;
Public ProfileOptions.Builder clearStartTimestampNs ()
The local profiler starts profiling at this Unix timestamp in nanoseconds.
uint64 start_timestamp_ns = 8;
public 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;
public static final 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;
getStartTimestampNهای طولانی عمومی ()
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 mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
عمومی نهایی ProfileOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public 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;
public 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;
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 فیلد، مقدار Object)
Public 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;
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 (int value)
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 (int value)
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;