ProfileOptions

classe finale publique ProfileOptions

 Next ID: 11
 
Tensorflow de type tensorflow.ProfileOptions

Classes imbriquées

classe ProfileOptions.Builder
 Next ID: 11
 
Tensorflow de type tensorflow.ProfileOptions
énumération ProfileOptions.DeviceType Protobuf énumération tensorflow.ProfileOptions.DeviceType

Constantes

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

Méthodes publiques

booléen
est égal (Obj objet)
Options de profil statiques
Options de profil
final statique com.google.protobuf.Descriptors.Descriptor
int
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.
int
getDeviceTypeValue ()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
long
getDurationMs ()
 The local profiler collects `duration_ms` milliseconds of data.
booléen
getEnableHloProto ()
 Whether serialize hlo_proto when XLA is used.
int
getHostTracerLevel ()
 Levels of host tracing: (version >= 1)
 - Level 0 is used to disable host traces.
booléen
getIncludeDatasetOps ()
 We don't collect the dataset ops by default for better trace-viewer
 scalability.
int
getPythonTracerLevel ()
 Whether enable python function calls tracing.
Chaîne
getRepositoryPath ()
 Directory to save profile data to.
com.google.protobuf.ByteString
getRepositoryPathBytes ()
 Directory to save profile data to.
int
long
getStartTimestampNs ()
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
final com.google.protobuf.UnknownFieldSet
int
obtenirVersion ()
 Some default value of option are not proto3 default value.
int
booléen final
ProfileOptions.Builder statique
ProfileOptions.Builder statique
ProfileOptions.Builder
Options de profil statiques
parseDelimitedFrom (entrée InputStream)
Options de profil statiques
parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options de profil statiques
parseFrom (données ByteBuffer)
Options de profil statiques
parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options de profil statiques
parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options de profil statiques
parseFrom (entrée com.google.protobuf.CodedInputStream)
Options de profil statiques
parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options de profil statiques
parseFrom (données com.google.protobuf.ByteString)
Options de profil statiques
parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Options de profil statiques
parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statique
ProfileOptions.Builder
vide
writeTo (sortie com.google.protobuf.CodedOutputStream)

Méthodes héritées

Constantes

public statique final int DEVICE_TRACER_LEVEL_FIELD_NUMBER

Valeur constante : 3

public statique final int DEVICE_TYPE_FIELD_NUMBER

Valeur constante : 6

public statique final entier DURATION_MS_FIELD_NUMBER

Valeur constante : 9

public statique final int ENABLE_HLO_PROTO_FIELD_NUMBER

Valeur constante : 7

public statique final int HOST_TRACER_LEVEL_FIELD_NUMBER

Valeur constante : 2

public statique final int INCLUDE_DATASET_OPS_FIELD_NUMBER

Valeur constante : 1

public statique final int PYTHON_TRACER_LEVEL_FIELD_NUMBER

Valeur constante : 4

public statique final int REPOSITORY_PATH_FIELD_NUMBER

Valeur constante : 10

public statique final int START_TIMESTAMP_NS_FIELD_NUMBER

Valeur constante : 8

public statique final int VERSION_FIELD_NUMBER

Valeur constante : 5

Méthodes publiques

public booléen égal (Objet obj)

Options de profil statiques publiques getDefaultInstance ()

Options de profil public getDefaultInstanceForType ()

public statique 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 booléen 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 booléen 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;

publique getParserForType ()

public int getPythonTracerLevel ()

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

chaîne publique 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;

code de hachage int public ()

public final booléen isInitialized ()

public statique ProfileOptions.Builder newBuilder (prototype ProfileOptions )

public statique ProfileOptions.Builder newBuilder ()

public ProfileOptions.Builder newBuilderForType ()

public static ProfileOptions parseDelimitedFrom (entrée InputStream)

Jetés
IOException

public static ProfileOptions parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static ProfileOptions parseFrom (données ByteBuffer)

Jetés
InvalidProtocolBufferException

public static ProfileOptions parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static ProfileOptions parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public static ProfileOptions parseFrom (entrée com.google.protobuf.CodedInputStream)

Jetés
IOException

public static ProfileOptions parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

parseFrom d'Options de profil statiques publiques (données com.google.protobuf.ByteString)

Jetés
InvalidProtocolBufferException

public static ProfileOptions parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public static ProfileOptions parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
InvalidProtocolBufferException

public statique analyseur ()

public ProfileOptions.Builder toBuilder ()

public void writeTo (sortie com.google.protobuf.CodedOutputStream)

Jetés
IOException