ProfileOptions

classe final pública ProfileOptions

 Next ID: 11
 
Protobuf tipo tensorflow.ProfileOptions

Classes aninhadas

aula ProfileOptions.Builder
 Next ID: 11
 
Protobuf tipo tensorflow.ProfileOptions
enumeração ProfileOptions.DeviceType Protobuf enum tensorflow.ProfileOptions.DeviceType

Constantes

interno DEVICE_TRACER_LEVEL_FIELD_NUMBER
interno DEVICE_TYPE_FIELD_NUMBER
interno DURATION_MS_FIELD_NUMBER
interno ENABLE_HLO_PROTO_FIELD_NUMBER
interno HOST_TRACER_LEVEL_FIELD_NUMBER
interno INCLUDE_DATASET_OPS_FIELD_NUMBER
interno PYTHON_TRACER_LEVEL_FIELD_NUMBER
interno REPOSITORY_PATH_FIELD_NUMBER
interno START_TIMESTAMP_NS_FIELD_NUMBER
interno VERSION_FIELD_NUMBER

Métodos Públicos

boleano
é igual (objeto obj)
Opções de perfil estático
Opções de perfil
final estático 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.
boleano
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.
boleano
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.
interno
longo
getStartTimestampNs ()
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
final com.google.protobuf.UnknownFieldSet
interno
getVersão ()
 Some default value of option are not proto3 default value.
interno
booleano final
ProfileOptions.Builder estático
newBuilder (protótipo ProfileOptions )
ProfileOptions.Builder estático
ProfileOptions.Builder
Opções de perfil estático
parseDelimitedFrom (entrada InputStream)
Opções de perfil estático
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opções de perfil estático
parseFrom (dados de ByteBuffer)
Opções de perfil estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opções de perfil estático
parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opções de perfil estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
Opções de perfil estático
parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opções de perfil estático
parseFrom (dados com.google.protobuf.ByteString)
Opções de perfil estático
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opções de perfil estático
parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
ProfileOptions.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

público estático final int DEVICE_TRACER_LEVEL_FIELD_NUMBER

Valor Constante: 3

público estático final int DEVICE_TYPE_FIELD_NUMBER

Valor Constante: 6

público estático final int DURATION_MS_FIELD_NUMBER

Valor Constante: 9

público estático final int ENABLE_HLO_PROTO_FIELD_NUMBER

Valor Constante: 7

público estático 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

público estático final int REPOSITORY_PATH_FIELD_NUMBER

Valor Constante: 10

int final estático público START_TIMESTAMP_NS_FIELD_NUMBER

Valor Constante: 8

público estático final int VERSION_FIELD_NUMBER

Valor Constante: 5

Métodos Públicos

booleano público é igual (Object obj)

public static ProfileOptions getDefaultInstance ()

public ProfileOptions getDefaultInstanceForType ()

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

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

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;

público int getSerializedSize ()

getStartTimestampNs longo público ()

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

final público com.google.protobuf.UnknownFieldSet getUnknownFields ()

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;

hashCode int público ()

público final booleano isInitialized ()

public static ProfileOptions.Builder newBuilder (protótipo ProfileOptions )

perfil estático públicoOptions.Builder newBuilder ()

perfil públicoOptions.Builder newBuilderForType ()

public static ProfileOptions parseDelimitedFrom (entrada InputStream)

Lança
IOException

public static ProfileOptions parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static ProfileOptions parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

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

Lança
IOException

public static ProfileOptions parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

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

Lança
IOException

public static ProfileOptions parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static ProfileOptions parseFrom (dados com.google.protobuf.ByteString)

Lança
InvalidProtocolBufferException

public static ProfileOptions parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static ProfileOptions parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException