ProfileOptions della classe finale pubblica
Next ID: 11
tensorflow.ProfileOptions
Classi nidificate
classe | ProfileOptions.Builder | Next ID: 11 tensorflow.ProfileOptions | |
enum | ProfileOptions.DeviceType | Protobuf enum tensorflow.ProfileOptions.DeviceType |
Costanti
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
Opzioni profilo statiche | |
Opzioni profilo | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
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. |
lungo | getDurationMs () The local profiler collects `duration_ms` milliseconds of data. |
booleano | 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. |
booleano | getIncludeDatasetOps () We don't collect the dataset ops by default for better trace-viewer scalability. |
int | 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. |
int | |
lungo | getStartTimestampNs () The local profiler starts profiling at this Unix timestamp in nanoseconds. |
finale com.google.protobuf.UnknownFieldSet | |
int | getVersione () Some default value of option are not proto3 default value. |
int | codicehash () |
booleano finale | |
ProfileOptions.Builder statico | newBuilder (prototipo ProfileOptions ) |
ProfileOptions.Builder statico | |
ProfileOptions.Builder | |
Opzioni profilo statiche | parseDelimitedFrom (input InputStream) |
Opzioni profilo statiche | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opzioni profilo statiche | parseFrom (dati ByteBuffer) |
Opzioni profilo statiche | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
Opzioni profilo statiche | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opzioni profilo statiche | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
Opzioni profilo statiche | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opzioni profilo statiche | parseFrom (dati com.google.protobuf.ByteString) |
Opzioni profilo statiche | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Opzioni profilo statiche | parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
ProfileOptions.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
pubblico statico finale int DEVICE_TRACER_LEVEL_FIELD_NUMBER
Valore costante: 3
public static final int DEVICE_TYPE_FIELD_NUMBER
Valore costante: 6
public static final int DURATION_MS_FIELD_NUMBER
Valore costante: 9
public static final int ENABLE_HLO_PROTO_FIELD_NUMBER
Valore costante: 7
pubblico statico finale int HOST_TRACER_LEVEL_FIELD_NUMBER
Valore costante: 2
public static final int INCLUDE_DATASET_OPS_FIELD_NUMBER
Valore costante: 1
public static final int PYTHON_TRACER_LEVEL_FIELD_NUMBER
Valore costante: 4
public static final int REPOSITORY_PATH_FIELD_NUMBER
Valore costante: 10
pubblico statico finale int START_TIMESTAMP_NS_FIELD_NUMBER
Valore costante: 8
public static final int VERSION_FIELD_NUMBER
Valore costante: 5
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
public static 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;
pubblico lungo getDurationMs ()
The local profiler collects `duration_ms` milliseconds of data. If the value is 0, profiling continues until interrupted.
uint64 duration_ms = 9;
getEnableHloProto pubblico booleano ()
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;
pubblico 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;
pubblico 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;
pubblico com.google.protobuf.ByteString getRepositoryPathBytes ()
Directory to save profile data to. No-op when empty.
string repository_path = 10;
public int getSerializedSize ()
pubblico lungo getStartTimestampNs ()
The local profiler starts profiling at this Unix timestamp in nanoseconds.
uint64 start_timestamp_ns = 8;
pubblico finale 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 booleano isInitialized ()
ProfileOptions statiche pubbliche parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
ProfileOptions statiche pubbliche parseFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
ProfileOptions statiche pubbliche parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
ProfileOptions statiche pubbliche parseFrom (input com.google.protobuf.CodedInputStream)
Lancia
IOException |
---|
ProfileOptions statiche pubbliche parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
ProfileOptions statiche pubbliche parseFrom (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
ProfileOptions statiche pubbliche parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
ProfileOptions statiche pubbliche parseFrom (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|