ProfileOptions

ProfileOptions de clase final pública

 Next ID: 11
 
Tensorflow de tipo tensorflow.ProfileOptions

Clases anidadas

clase ProfileOptions.Builder
 Next ID: 11
 
Tensorflow de tipo tensorflow.ProfileOptions
enumeración ProfileOptions.DeviceType Protobuf enumeración tensorflow.ProfileOptions.DeviceType

Constantes

En t DEVICE_TRACER_LEVEL_FIELD_NUMBER
En t DEVICE_TYPE_FIELD_NUMBER
En t DURATION_MS_FIELD_NUMBER
En t ENABLE_HLO_PROTO_FIELD_NUMBER
En t HOST_TRACER_LEVEL_FIELD_NUMBER
En t INCLUDE_DATASET_OPS_FIELD_NUMBER
En t PYTHON_TRACER_LEVEL_FIELD_NUMBER
En t REPOSITORY_PATH_FIELD_NUMBER
En t START_TIMESTAMP_NS_FIELD_NUMBER
En t VERSION_FIELD_NUMBER

Métodos públicos

booleano
es igual a (Objeto obj)
Opciones de perfil estáticas
Opciones de perfil
com.google.protobuf.Descriptors.Descriptor estático final
En t
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.
En t
getDeviceTypeValue ()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
largo
getDurationMs ()
 The local profiler collects `duration_ms` milliseconds of data.
booleano
getEnableHloProto ()
 Whether serialize hlo_proto when XLA is used.
En t
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.
En t
getPythonTracerLevel ()
 Whether enable python function calls tracing.
Cuerda
getRepositoryPath ()
 Directory to save profile data to.
com.google.protobuf.ByteString
getRepositoryPathBytes ()
 Directory to save profile data to.
En t
largo
getStartTimestampNs ()
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
final com.google.protobuf.UnknownFieldSet
En t
getVersion ()
 Some default value of option are not proto3 default value.
En t
booleano final
static ProfileOptions.Builder
static ProfileOptions.Builder
ProfileOptions.Builder
Opciones de perfil estáticas
parseDelimitedFrom (entrada InputStream)
Opciones de perfil estáticas
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opciones de perfil estáticas
parseFrom (datos ByteBuffer)
Opciones de perfil estáticas
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opciones de perfil estáticas
parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opciones de perfil estáticas
parseFrom (entrada com.google.protobuf.CodedInputStream)
Opciones de perfil estáticas
parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opciones de perfil estáticas
parseFrom (datos com.google.protobuf.ByteString)
Opciones de perfil estáticas
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opciones de perfil estáticas
parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
ProfileOptions.Builder
vacío
writeTo (salida de com.google.protobuf.CodedOutputStream)

Métodos heredados

Constantes

public static final int DEVICE_TRACER_LEVEL_FIELD_NUMBER

Valor constante: 3

public static final int DEVICE_TYPE_FIELD_NUMBER

Valor constante: 6

public static final int DURATION_MS_FIELD_NUMBER

Valor constante: 9

public static final int ENABLE_HLO_PROTO_FIELD_NUMBER

Valor constante: 7

public static final int HOST_TRACER_LEVEL_FIELD_NUMBER

Valor constante: 2

público estático final int INCLUDE_DATASET_OPS_FIELD_NUMBER

Valor constante: 1

público estático final int PYTHON_TRACER_LEVEL_FIELD_NUMBER

Valor constante: 4

public static final int REPOSITORY_PATH_FIELD_NUMBER

Valor constante: 10

public static final int START_TIMESTAMP_NS_FIELD_NUMBER

Valor constante: 8

public static final int VERSION_FIELD_NUMBER

Valor constante: 5

Métodos públicos

public boolean es igual a (Object obj)

public static ProfileOptions getDefaultInstance ()

Public ProfileOptions getDefaultInstanceForType ()

público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

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;

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

public long getDurationMs ()

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

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

public boolean 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 getParserForType ()

public int getPythonTracerLevel ()

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

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

public int getSerializedSize ()

public long getStartTimestampNs ()

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

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

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;

public int hashCode ()

public final boolean isInitialized ()

Public static ProfileOptions.Builder newBuilder (prototipo de ProfileOptions )

Public static ProfileOptions.Builder newBuilder ()

public ProfileOptions.Builder newBuilderForType ()

Public static ProfileOptions parseDelimitedFrom (entrada InputStream)

Lanza
IOException

Public static ProfileOptions parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOException

Public static ProfileOptions parseFrom (datos ByteBuffer)

Lanza
InvalidProtocolBufferException

Public static ProfileOptions parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOException

Public static ProfileOptions parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
InvalidProtocolBufferException

Public static ProfileOptions parseFrom (entrada com.google.protobuf.CodedInputStream)

Lanza
IOException

Public static ProfileOptions parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
InvalidProtocolBufferException

Public static ProfileOptions parseFrom (datos de com.google.protobuf.ByteString)

Lanza
InvalidProtocolBufferException

Public static ProfileOptions parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
IOException

Public static ProfileOptions parseFrom (datos de com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lanza
InvalidProtocolBufferException

público estático analizador ()

public ProfileOptions.Builder toBuilder ()

public void writeTo (salida de com.google.protobuf.CodedOutputStream)

Lanza
IOException