ProfileOptions.Builder

الفئة النهائية العامة الثابتة ProfileOptions.Builder

 Next ID: 11
 
نوع Protobuf 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
كليرريبوسيتوريباث ()
 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.
كثافة العمليات
الحصول علىDeviceTypeValue ()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
طويل
الحصول على DurationMs ()
 The local profiler collects `duration_ms` milliseconds of data.
منطقية
احصل على EnableHloProto ()
 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
دمج من (com.google.protobuf.Message أخرى)
ProfileOptions.Builder
دمج من (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
الملف الشخصي النهائيOptions.Builder
دمجUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
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.
الملف الشخصي النهائيOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
ProfileOptions.Builder
setVersion (قيمة int)
 Some default value of option are not proto3 default value.

الطرق الموروثة

الأساليب العامة

ملف التعريف العام Options.Builder addRepeatedField (حقل com.google.protobuf.Descriptors.FieldDescriptor، قيمة الكائن)

بناء خيارات الملف الشخصي العامة ()

خيارات الملف الشخصي العامة buildPartial ()

الملف الشخصي العام.Builder واضح ()

الملف الشخصي العام.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;

الملف الشخصي العام.Builder ClearDurationMs ()

 The local profiler collects `duration_ms` milliseconds of data. If the
 value is 0, profiling continues until interrupted.
 
uint64 duration_ms = 9;

الملف الشخصي العام.Builder ClearEnableHloProto ()

 Whether serialize hlo_proto when XLA is used. (version >= 1)
 
bool enable_hlo_proto = 7;

ملف التعريف العام Options.Builder ClearField (حقل com.google.protobuf.Descriptors.FieldDescriptor)

الملف الشخصي العام.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;

الملف الشخصي العام.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;

ملف التعريف العام Options.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;

الملف الشخصي العام.Builder ClearRepositoryPath ()

 Directory to save profile data to. No-op when empty.
 
string repository_path = 10;

الملف الشخصي العام.Builder ClearStartTimestampNs ()

 The local profiler starts profiling at this Unix timestamp in nanoseconds.
 
uint64 start_timestamp_ns = 8;

الملف الشخصي العام.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;

استنساخ ProfileOptions.Builder العام ()

خيارات الملف الشخصي العامة getDefaultInstanceForType ()

النهائي العام الثابت com.google.protobuf.Descriptors.Descriptor getDescriptor ()

com.google.protobuf.Descriptors.Descriptor getDescriptorForType () العام

int public 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;

الملف الشخصي العام.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 public 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 public 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 public 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;

تمت تهيئة القيمة المنطقية النهائية العامة ()

ملف التعريف العام Options.Builder mergeFrom (com.google.protobuf.Messageother)

ملف التعريف العام Options.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

رميات
IOEException

الملف الشخصي النهائي العام.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetUnknownFields)

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;

ملف التعريف العام Options.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;

الملف الشخصي النهائي العام.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetUnknownFields)

مجموعة ProfileOptions.Builder العامة (قيمة 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;