clase final estática pública ProfileOptions.Builder
Next ID: 11
tensorflow.ProfileOptions
Métodos públicos
Opciones de perfil.Constructor | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
Opciones de perfil | construir () |
Opciones de perfil | |
Opciones de perfil.Constructor | claro () |
Opciones de perfil.Constructor | clearDeviceTracerLevel () Levels of device tracing: (version >= 1) - Level 0 is used to disable device traces. |
Opciones de perfil.Constructor | borrar tipo de dispositivo () Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
Opciones de perfil.Constructor | clearDurationMs () The local profiler collects `duration_ms` milliseconds of data. |
Opciones de perfil.Constructor | borrarEnableHloProto () Whether serialize hlo_proto when XLA is used. |
Opciones de perfil.Constructor | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
Opciones de perfil.Constructor | borrarHostTracerLevel () Levels of host tracing: (version >= 1) - Level 0 is used to disable host traces. |
Opciones de perfil.Constructor | borrarIncludeDatasetOps () We don't collect the dataset ops by default for better trace-viewer scalability. |
Opciones de perfil.Constructor | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor uno de) |
Opciones de perfil.Constructor | borrarPythonTracerLevel () Whether enable python function calls tracing. |
Opciones de perfil.Constructor | borrarRepositoryPath () Directory to save profile data to. |
Opciones de perfil.Constructor | borrarStartTimestampNs () The local profiler starts profiling at this Unix timestamp in nanoseconds. |
Opciones de perfil.Constructor | versión clara () Some default value of option are not proto3 default value. |
Opciones de perfil.Constructor | clonar () |
Opciones de perfil | |
com.google.protobuf.Descriptors.Descriptor estático final | |
com.google.protobuf.Descriptors.Descriptor | |
entero | getDeviceTracerLevel () Levels of device tracing: (version >= 1) - Level 0 is used to disable device traces. |
Opciones de perfil.Tipo de dispositivo | getTipo de dispositivo () Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
entero | getDeviceTypeValue () Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
largo | getDuraciónMs () The local profiler collects `duration_ms` milliseconds of data. |
booleano | getEnableHloProto () Whether serialize hlo_proto when XLA is used. |
entero | getHostTracerLevel () Levels of host tracing: (version >= 1) - Level 0 is used to disable host traces. |
booleano | obtenerIncludeDatasetOps () We don't collect the dataset ops by default for better trace-viewer scalability. |
entero | obtenerPythonTracerLevel () Whether enable python function calls tracing. |
Cadena | getRepositoryPath () Directory to save profile data to. |
com.google.protobuf.ByteString | getRepositoryPathBytes () Directory to save profile data to. |
largo | getStartTimestampNs () The local profiler starts profiling at this Unix timestamp in nanoseconds. |
entero | obtener versión () Some default value of option are not proto3 default value. |
booleano final | |
Opciones de perfil.Constructor | mergeFrom (com.google.protobuf.Message otro) |
Opciones de perfil.Constructor | mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensiónRegistry) |
Opciones de perfil finales.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Opciones de perfil.Constructor | setDeviceTracerLevel (valor int) Levels of device tracing: (version >= 1) - Level 0 is used to disable device traces. |
Opciones de perfil.Constructor | setDeviceType (valor ProfileOptions.DeviceType ) Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
Opciones de perfil.Constructor | setDeviceTypeValue (valor int) Device type to profile/trace: (version >= 1) DeviceType::UNSPECIFIED: All registered device profiler will be enabled. |
Opciones de perfil.Constructor | setDurationMs (valor largo) The local profiler collects `duration_ms` milliseconds of data. |
Opciones de perfil.Constructor | setEnableHloProto (valor booleano) Whether serialize hlo_proto when XLA is used. |
Opciones de perfil.Constructor | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto) |
Opciones de perfil.Constructor | setHostTracerLevel (valor int) Levels of host tracing: (version >= 1) - Level 0 is used to disable host traces. |
Opciones de perfil.Constructor | setIncludeDatasetOps (valor booleano) We don't collect the dataset ops by default for better trace-viewer scalability. |
Opciones de perfil.Constructor | setPythonTracerLevel (valor int) Whether enable python function calls tracing. |
Opciones de perfil.Constructor | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor del objeto) |
Opciones de perfil.Constructor | setRepositoryPath (valor de cadena) Directory to save profile data to. |
Opciones de perfil.Constructor | setRepositoryPathBytes (valor com.google.protobuf.ByteString) Directory to save profile data to. |
Opciones de perfil.Constructor | setStartTimestampNs (valor largo) The local profiler starts profiling at this Unix timestamp in nanoseconds. |
Opciones de perfil finales.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields) |
Opciones de perfil.Constructor | setVersion (valor int) Some default value of option are not proto3 default value. |
Métodos heredados
Métodos públicos
public ProfileOptions.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor del objeto)
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;
opciones de perfil públicas.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;
opciones de perfil públicas.Builder clearDurationMs ()
The local profiler collects `duration_ms` milliseconds of data. If the value is 0, profiling continues until interrupted.
uint64 duration_ms = 9;
pública 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;
pública 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;
Opciones de perfil público.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;
pública ProfileOptions.Builder clearRepositoryPath ()
Directory to save profile data to. No-op when empty.
string repository_path = 10;
pública ProfileOptions.Builder clearStartTimestampNs ()
The local profiler starts profiling at this Unix timestamp in nanoseconds.
uint64 start_timestamp_ns = 8;
Opciones de perfil público.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;
público estático final 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;
Opciones de perfil público.Tipo de dispositivo getTipo de dispositivo ()
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;
público largo getDurationMs ()
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;
getIncludeDatasetOps booleano público ()
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;
cadena 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;
público largo 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;
público final booleano isInitialized ()
public ProfileOptions.Builder mergeFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOExcepción |
---|
ProfileOptions.Builder final público mergeUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
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;
público 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;
public 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 largo)
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 del objeto)
public 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;
público 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 del objeto)
public ProfileOptions.Builder setRepositoryPath (valor de cadena)
Directory to save profile data to. No-op when empty.
string repository_path = 10;
público 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 largo)
The local profiler starts profiling at this Unix timestamp in nanoseconds.
uint64 start_timestamp_ns = 8;
ProfileOptions.Builder final público setUnknownFields (com.google.protobuf.UnknownFieldSet desconocidoFields)
public 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;