classe final estática pública ProfileOptions.Builder
Next ID: 11
tensorflow.ProfileOptions
Métodos Públicos
ProfileOptions.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
Opções de perfil | construir () |
Opções de perfil | |
ProfileOptions.Builder | claro () |
ProfileOptions.Builder | clearDeviceTracerLevel () Levels of device tracing: (version >= 1) - Level 0 is used to disable device traces. |
ProfileOptions.Builder | limparDeviceType () Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
ProfileOptions.Builder | limparDurationMs () The local profiler collects `duration_ms` milliseconds of data. |
ProfileOptions.Builder | clearEnableHloProto () Whether serialize hlo_proto when XLA is used. |
ProfileOptions.Builder | clearField (campo 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 umof) |
ProfileOptions.Builder | clearPythonTracerLevel () Whether enable python function calls tracing. |
ProfileOptions.Builder | limparRepositoryPath () 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 | clonar () |
Opções de perfil | |
final estático com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
interno | 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. |
interno | getDeviceTypeValue () Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
longo | getDurationMs () The local profiler collects `duration_ms` milliseconds of data. |
booleano | getEnableHloProto () Whether serialize hlo_proto when XLA is used. |
interno | getHostTracerLevel () Levels of host tracing: (version >= 1) - Level 0 is used to disable host traces. |
booleano | getIncludeDatasetOps () We don't collect the dataset ops by default for better trace-viewer scalability. |
interno | getPythonTracerLevel () Whether enable python function calls tracing. |
Corda | getRepositoryPath () Directory to save profile data to. |
com.google.protobuf.ByteString | getRepositoryPathBytes () Directory to save profile data to. |
longo | getStartTimestampNs () The local profiler starts profiling at this Unix timestamp in nanoseconds. |
interno | getVersão () Some default value of option are not proto3 default value. |
booleano final | |
ProfileOptions.Builder | mergeFrom (com.google.protobuf.Message outro) |
ProfileOptions.Builder | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
final ProfileOptions.Builder | mesclarUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
ProfileOptions.Builder | setDeviceTracerLevel (valor interno) Levels of device tracing: (version >= 1) - Level 0 is used to disable device traces. |
ProfileOptions.Builder | setDeviceType (valor ProfileOptions.DeviceType ) Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
ProfileOptions.Builder | setDeviceTypeValue (valor interno) Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
ProfileOptions.Builder | setDurationMs (valor longo) The local profiler collects `duration_ms` milliseconds of data. |
ProfileOptions.Builder | setEnableHloProto (valor booleano) Whether serialize hlo_proto when XLA is used. |
ProfileOptions.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
ProfileOptions.Builder | setHostTracerLevel (valor interno) Levels of host tracing: (version >= 1) - Level 0 is used to disable host traces. |
ProfileOptions.Builder | setIncludeDatasetOps (valor booleano) We don't collect the dataset ops by default for better trace-viewer scalability. |
ProfileOptions.Builder | setPythonTracerLevel (valor interno) Whether enable python function calls tracing. |
ProfileOptions.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
ProfileOptions.Builder | setRepositoryPath (valor da string) Directory to save profile data to. |
ProfileOptions.Builder | setRepositoryPathBytes (valor com.google.protobuf.ByteString) Directory to save profile data to. |
ProfileOptions.Builder | setStartTimestampNs (valor longo) The local profiler starts profiling at this Unix timestamp in nanoseconds. |
final ProfileOptions.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields) |
ProfileOptions.Builder | setVersion (valor interno) Some default value of option are not proto3 default value. |
Métodos herdados
Métodos Públicos
public ProfileOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
perfil públicoOptions.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;
perfil públicoOptions.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;
perfil públicoOptions.Builder clearDurationMs ()
The local profiler collects `duration_ms` milliseconds of data. If the value is 0, profiling continues until interrupted.
uint64 duration_ms = 9;
perfil públicoOptions.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;
perfil públicoOptions.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;
perfil públicoOptions.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;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
público com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
público 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;
público 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 longo público ()
The local profiler collects `duration_ms` milliseconds of data. If the value is 0, profiling continues until interrupted.
uint64 duration_ms = 9;
getEnableHloProto booleano público ()
Whether serialize hlo_proto when XLA is used. (version >= 1)
bool enable_hlo_proto = 7;
público 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;
público booleano 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;
público int getPythonTracerLevel ()
Whether enable python function calls tracing. Runtime overhead ensues if enabled. Default off. (version >= 1)
uint32 python_tracer_level = 4;
String pública getRepositoryPath ()
Directory to save profile data to. No-op when empty.
string repository_path = 10;
público com.google.protobuf.ByteString getRepositoryPathBytes ()
Directory to save profile data to. No-op when empty.
string repository_path = 10;
getStartTimestampNs longo público ()
The local profiler starts profiling at this Unix timestamp in nanoseconds.
uint64 start_timestamp_ns = 8;
public int getVersão ()
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;
público final booleano isInitialized ()
public ProfileOptions.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
público final ProfileOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
public ProfileOptions.Builder setDeviceTracerLevel (valor 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 (valor 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;
público ProfileOptions.Builder setDeviceTypeValue (valor 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 (valor longo)
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 (valor booleano)
Whether serialize hlo_proto when XLA is used. (version >= 1)
bool enable_hlo_proto = 7;
public ProfileOptions.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
público ProfileOptions.Builder setHostTracerLevel (valor 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 (valor booleano)
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 (valor 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
public ProfileOptions.Builder setRepositoryPath (valor de string)
Directory to save profile data to. No-op when empty.
string repository_path = 10;
public ProfileOptions.Builder setRepositoryPathBytes (valor com.google.protobuf.ByteString)
Directory to save profile data to. No-op when empty.
string repository_path = 10;
public ProfileOptions.Builder setStartTimestampNs (valor longo)
The local profiler starts profiling at this Unix timestamp in nanoseconds.
uint64 start_timestamp_ns = 8;
final público ProfileOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet desconhecidoFields)
público ProfileOptions.Builder setVersion (valor 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;