ProfileOptions

ProfileOptions kelas akhir publik

 Next ID: 11
 
Tipe protobuf tensorflow.ProfileOptions

Kelas Bersarang

kelas ProfileOptions.Builder
 Next ID: 11
 
Tipe protobuf tensorflow.ProfileOptions
enum ProfileOptions.DeviceType Protobuf termasuk tensorflow.ProfileOptions.DeviceType

Konstanta

ke dalam DEVICE_TRACER_LEVEL_FIELD_NUMBER
ke dalam DEVICE_TYPE_FIELD_NUMBER
ke dalam DURATION_MS_FIELD_NUMBER
ke dalam ENABLE_HLO_PROTO_FIELD_NUMBER
ke dalam HOST_TRACER_LEVEL_FIELD_NUMBER
ke dalam INCLUDE_DATASET_OPS_FIELD_NUMBER
ke dalam PYTHON_TRACER_LEVEL_FIELD_NUMBER
ke dalam REPOSITORY_PATH_FIELD_NUMBER
ke dalam START_TIMESTAMP_NS_FIELD_NUMBER
ke dalam VERSION_FIELD_NUMBER

Metode Publik

boolean
sama dengan (Objek objek)
Opsi Profil statis
Opsi Profil
com.google.protobuf.Descriptors.Descriptor statis terakhir
ke dalam
dapatkanDeviceTracerLevel ()
 Levels of device tracing: (version >= 1)
 - Level 0 is used to disable device traces.
ProfileOptions.DeviceType
dapatkanDeviceType ()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
ke dalam
dapatkanDeviceTypeValue ()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
panjang
dapatkanDurationMs ()
 The local profiler collects `duration_ms` milliseconds of data.
boolean
dapatkan AktifkanHloProto ()
 Whether serialize hlo_proto when XLA is used.
ke dalam
dapatkanHostTracerLevel ()
 Levels of host tracing: (version >= 1)
 - Level 0 is used to disable host traces.
boolean
dapatkanIncludeDatasetOps ()
 We don't collect the dataset ops by default for better trace-viewer
 scalability.
ke dalam
dapatkanPythonTracerLevel ()
 Whether enable python function calls tracing.
Rangkaian
dapatkan Jalur Repositori ()
 Directory to save profile data to.
com.google.protobuf.ByteString
dapatkanRepositoryPathBytes ()
 Directory to save profile data to.
ke dalam
panjang
dapatkanStartTimestampNs ()
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
final com.google.protobuf.UnknownFieldSet
ke dalam
dapatkanVersi ()
 Some default value of option are not proto3 default value.
ke dalam
boolean terakhir
ProfileOptions.Builder statis
ProfileOptions.Builder statis
ProfileOptions.Builder
Opsi Profil statis
parseDelimitedFrom (masukan Aliran Masukan)
Opsi Profil statis
parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opsi Profil statis
parseFrom (data ByteBuffer)
Opsi Profil statis
parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opsi Profil statis
parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opsi Profil statis
parseFrom (com.google.protobuf.CodedInputStream masukan)
Opsi Profil statis
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opsi Profil statis
parseFrom (com.google.protobuf.ByteString data)
Opsi Profil statis
parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Opsi Profil statis
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
statis
ProfileOptions.Builder
ruang kosong
writeTo (com.google.protobuf.CodedOutputStream keluaran)

Metode Warisan

Konstanta

int akhir statis publik DEVICE_TRACER_LEVEL_FIELD_NUMBER

Nilai Konstan: 3

int akhir statis publik DEVICE_TYPE_FIELD_NUMBER

Nilai Konstan: 6

int final statis publik DURATION_MS_FIELD_NUMBER

Nilai Konstan: 9

int akhir statis publik ENABLE_HLO_PROTO_FIELD_NUMBER

Nilai Konstan: 7

int final statis publik HOST_TRACER_LEVEL_FIELD_NUMBER

Nilai Konstan: 2

int akhir statis publik INCLUDE_DATASET_OPS_FIELD_NUMBER

Nilai Konstan: 1

int final statis publik PYTHON_TRACER_LEVEL_FIELD_NUMBER

Nilai Konstan: 4

int akhir statis publik REPOSITORY_PATH_FIELD_NUMBER

Nilai Konstan: 10

int final statis publik START_TIMESTAMP_NS_FIELD_NUMBER

Nilai Konstan: 8

int akhir statis publik VERSION_FIELD_NUMBER

Nilai Konstan: 5

Metode Publik

boolean publik sama (Obj objek)

ProfileOptions statis publik getDefaultInstance ()

ProfileOptions publik getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

int publik 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;

ProfileOptions publik.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;

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

get panjang publikDurationMs ( )

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

boolean publik getEnableHloProto ()

 Whether serialize hlo_proto when XLA is used. (version >= 1)
 
bool enable_hlo_proto = 7;

int publik 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;

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

publik dapatkanParserForType ()

int publik getPythonTracerLevel ()

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

String publik getRepositoryPath ()

 Directory to save profile data to. No-op when empty.
 
string repository_path = 10;

publik com.google.protobuf.ByteString getRepositoryPathBytes ()

 Directory to save profile data to. No-op when empty.
 
string repository_path = 10;

publik int getSerializedSize ()

getStartTimestampNs panjang publik ()

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

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

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

kode hash int publik ()

boolean akhir publik diinisialisasi ()

ProfileOptions.Builder statis publik newBuilder (prototipe ProfileOptions )

ProfileOptions.Builder statis publik newBuilder ()

ProfileOptions publik.Builder newBuilderForType ()

ProfileOptions statis publik parseDelimitedFrom (input InputStream)

Melempar
Pengecualian IO

ProfileOptions statis publik parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

parseFrom ProfileOptions statis publik (data ByteBuffer)

Melempar
ProtokolBufferException Tidak Valid

ProfileOptions statis publik parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

parseFrom ProfileOptions statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
ProtokolBufferException Tidak Valid

parseFrom ProfileOptions statis publik (com.google.protobuf.CodedInputStream input)

Melempar
Pengecualian IO

ProfileOptions statis publik parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
ProtokolBufferException Tidak Valid

parseFrom ProfileOptions statis publik (com.google.protobuf.ByteString data)

Melempar
ProtokolBufferException Tidak Valid

ProfileOptions statis publik parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

ProfileOptions statis publik parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
ProtokolBufferException Tidak Valid

statis publik pengurai ()

ProfileOptions.Builder toBuilder publik ()

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

Melempar
Pengecualian IO