ProfileOptions.Builder

publiczna statyczna klasa końcowa ProfileOptions.Builder

 Next ID: 11
 
Protobuf typu tensorflow.ProfileOptions

Metody publiczne

Opcje profilu. Konstruktor
addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
Opcje profilu
Opcje profilu
Opcje profilu. Konstruktor
jasne ()
Opcje profilu. Konstruktor
clearDeviceTracerLevel ()
 Levels of device tracing: (version >= 1)
 - Level 0 is used to disable device traces.
Opcje profilu. Konstruktor
wyczyść typ urządzenia ()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
Opcje profilu. Konstruktor
clearDurationMs ()
 The local profiler collects `duration_ms` milliseconds of data.
Opcje profilu. Konstruktor
wyczyśćWłączHloProto ()
 Whether serialize hlo_proto when XLA is used.
Opcje profilu. Konstruktor
clearField (pole com.google.protobuf.Descriptors.FieldDescriptor)
Opcje profilu. Konstruktor
clearHostTracerLevel ()
 Levels of host tracing: (version >= 1)
 - Level 0 is used to disable host traces.
Opcje profilu. Konstruktor
clearIncludeDatasetOps ()
 We don't collect the dataset ops by default for better trace-viewer
 scalability.
Opcje profilu. Konstruktor
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
Opcje profilu. Konstruktor
clearPythonTracerLevel ()
 Whether enable python function calls tracing.
Opcje profilu. Konstruktor
wyczyść ścieżkę repozytorium ()
 Directory to save profile data to.
Opcje profilu. Konstruktor
clearStartTimestampNs ()
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
Opcje profilu. Konstruktor
wyczyść wersję ()
 Some default value of option are not proto3 default value.
Opcje profilu. Konstruktor
klon ()
Opcje profilu
końcowy statyczny com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
wew
pobierzDeviceTracerLevel ()
 Levels of device tracing: (version >= 1)
 - Level 0 is used to disable device traces.
Opcje profilu.Typ urządzenia
pobierz typ urządzenia ()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
wew
getDeviceTypeValue ()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
długi
getDurationMs ()
 The local profiler collects `duration_ms` milliseconds of data.
wartość logiczna
getEnableHloProto ()
 Whether serialize hlo_proto when XLA is used.
wew
getHostTracerLevel ()
 Levels of host tracing: (version >= 1)
 - Level 0 is used to disable host traces.
wartość logiczna
getIncludeDatasetOps ()
 We don't collect the dataset ops by default for better trace-viewer
 scalability.
wew
pobierzPythonTracerLevel ()
 Whether enable python function calls tracing.
Strunowy
getRepositoryPath ()
 Directory to save profile data to.
com.google.protobuf.ByteString
getRepositoryPathBytes ()
 Directory to save profile data to.
długi
getStartTimestampNs ()
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
wew
pobierz wersję ()
 Some default value of option are not proto3 default value.
końcowa wartość logiczna
Opcje profilu. Konstruktor
mergeFrom (com.google.protobuf.Wiadomość inna)
Opcje profilu. Konstruktor
mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
końcowy ProfileOptions.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola)
Opcje profilu. Konstruktor
setDeviceTracerLevel (wartość int)
 Levels of device tracing: (version >= 1)
 - Level 0 is used to disable device traces.
Opcje profilu. Konstruktor
setDeviceType (wartość ProfileOptions.DeviceType )
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
Opcje profilu. Konstruktor
setDeviceTypeValue (wartość int)
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
Opcje profilu. Konstruktor
setDurationMs (długa wartość)
 The local profiler collects `duration_ms` milliseconds of data.
Opcje profilu. Konstruktor
setEnableHloProto (wartość logiczna)
 Whether serialize hlo_proto when XLA is used.
Opcje profilu. Konstruktor
setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
Opcje profilu. Konstruktor
setHostTracerLevel (wartość int)
 Levels of host tracing: (version >= 1)
 - Level 0 is used to disable host traces.
Opcje profilu. Konstruktor
setIncludeDatasetOps (wartość logiczna)
 We don't collect the dataset ops by default for better trace-viewer
 scalability.
Opcje profilu. Konstruktor
setPythonTracerLevel (wartość int)
 Whether enable python function calls tracing.
Opcje profilu. Konstruktor
setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
Opcje profilu. Konstruktor
setRepositoryPath (wartość ciągu)
 Directory to save profile data to.
Opcje profilu. Konstruktor
setRepositoryPathBytes (wartość com.google.protobuf.ByteString)
 Directory to save profile data to.
Opcje profilu. Konstruktor
setStartTimestampNs (długa wartość)
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
końcowy ProfileOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola)
Opcje profilu. Konstruktor
setVersion (wartość int)
 Some default value of option are not proto3 default value.

Metody dziedziczone

Metody publiczne

public ProfileOptions.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)

publiczny ProfilOpcje kompilacja ()

publiczny ProfilOpcje kompilacjaCzęściowa ()

public ProfileOptions.Builder wyczyść ()

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 wyczyśćEnableHloProto ()

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

public ProfileOptions.Builder clearField (pole com.google.protobuf.Descriptors.FieldDescriptor)

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 clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

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 ProfileOptions.Klon konstruktora ()

public ProfileOptions getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

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

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

publiczny 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;

publiczny długi getDurationMs ()

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

publiczna wartość logiczna 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;

publiczna wartość logiczna 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;

publiczny int getPythonTracerLevel ()

 Whether enable python function calls tracing. Runtime overhead ensues if
 enabled. Default off. (version >= 1)
 
uint32 python_tracer_level = 4;

publiczny ciąg 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;

publiczny długi getStartTimestampNs ()

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

publiczny 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;

publiczna końcowa wartość logiczna isInitialized ()

public ProfileOptions.Builder mergeFrom (com.google.protobuf.Message other)

public ProfileOptions.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)

Rzuca
Wyjątek IO

publiczny końcowy ProfileOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

public ProfileOptions.Builder setDeviceTracerLevel (wartość 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;

public ProfileOptions.Builder setDeviceType (wartość 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 (wartość 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 (długa wartość)

 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 (wartość logiczna)

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

public ProfileOptions.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)

public ProfileOptions.Builder setHostTracerLevel (wartość 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 (wartość logiczna)

 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 (wartość int)

 Whether enable python function calls tracing. Runtime overhead ensues if
 enabled. Default off. (version >= 1)
 
uint32 python_tracer_level = 4;

public ProfileOptions.Builder setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)

public ProfileOptions.Builder setRepositoryPath (wartość ciągu)

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

public ProfileOptions.Builder setRepositoryPathBytes (wartość com.google.protobuf.ByteString)

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

public ProfileOptions.Builder setStartTimestampNs (długa wartość)

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

publiczny końcowy ProfileOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

public ProfileOptions.Builder setVersion (wartość 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;