ProfileOptions

lớp cuối cùng công khai ProfileOptions

 Next ID: 11
 
Loại protobuf tensorflow.ProfileOptions

Các lớp lồng nhau

lớp học ProfileOptions.Builder
 Next ID: 11
 
Loại protobuf tensorflow.ProfileOptions
liệt kê ProfileOptions.DeviceType Protobuf enum tensorflow.ProfileOptions.DeviceType

Hằng số

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

Phương pháp công khai

boolean
bằng (Đối tượng obj)
Tùy chọn hồ sơ tĩnh
Tùy chọn hồ sơ
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
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.
dài
getDurationMs ()
 The local profiler collects `duration_ms` milliseconds of data.
boolean
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.
boolean
getIncludeDatasetOps ()
 We don't collect the dataset ops by default for better trace-viewer
 scalability.
int
getPythonTracerLevel ()
 Whether enable python function calls tracing.
Sợi dây
getRepositoryPath ()
 Directory to save profile data to.
com.google.protobuf.ByteString
getRepositoryPathBytes ()
 Directory to save profile data to.
int
dài
getStartTimestampNs ()
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
com.google.protobuf.UnknownFieldSet cuối cùng
int
getVersion ()
 Some default value of option are not proto3 default value.
int
boolean cuối cùng
ProfileOptions.Builder tĩnh
newBuilder ( nguyên mẫu ProfileOptions )
ProfileOptions.Builder tĩnh
ProfileOptions.Builder
Tùy chọn hồ sơ tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)
Tùy chọn hồ sơ tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry)
Tùy chọn hồ sơ tĩnh
ParseFrom (dữ liệu ByteBuffer)
Tùy chọn hồ sơ tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Tùy chọn hồ sơ tĩnh
ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Tùy chọn hồ sơ tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream)
Tùy chọn hồ sơ tĩnh
ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Tùy chọn hồ sơ tĩnh
ParseFrom (dữ liệu com.google.protobuf.ByteString)
Tùy chọn hồ sơ tĩnh
ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Tùy chọn hồ sơ tĩnh
ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
tĩnh
ProfileOptions.Builder
trống rỗng
writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Phương pháp kế thừa

Hằng số

int tĩnh công khai DEVICE_TRACER_LEVEL_FIELD_NUMBER

Giá trị không đổi: 3

int tĩnh công khai DEVICE_TYPE_FIELD_NUMBER

Giá trị không đổi: 6

int cuối cùng tĩnh công khai DUration_MS_FIELD_NUMBER

Giá trị không đổi: 9

int tĩnh công khai ENABLE_HLO_PROTO_FIELD_NUMBER

Giá trị không đổi: 7

int tĩnh cuối cùng HOST_TRACER_LEVEL_FIELD_NUMBER

Giá trị không đổi: 2

int tĩnh công khai INCLUDE_DATASET_OPS_FIELD_NUMBER

Giá trị không đổi: 1

int tĩnh công khai PYTHON_TRACER_LEVEL_FIELD_NUMBER

Giá trị không đổi: 4

int tĩnh công khai REPOSITORY_PATH_FIELD_NUMBER

Giá trị không đổi: 10

int cuối cùng tĩnh công khai START_TIMESTAMP_NS_FIELD_NUMBER

Giá trị không đổi: 8

int tĩnh công khai VERSION_FIELD_NUMBER

Giá trị không đổi: 5

Phương pháp công khai

boolean công khai bằng (Object obj)

ProfileOptions tĩnh công khai getDefaultInstance ()

public ProfileOptions getDefaultInstanceForType ()

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

int công khai 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;

int công khai 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;

công khai getDurationMs ()

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

boolean công khai getEnableHloProto ()

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

int công khai 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 công khai 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;

công cộng getParserForType ()

int công khai getPythonTracerLevel ()

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

Chuỗi công khai getRepositoryPath ()

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

com.google.protobuf.ByteString getRepositoryPathBytes công khai ()

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

int công khai getSerializedSize ()

getStartTimestampNs dài công khai ()

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

trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()

int công khai getVersion ()

phiên bản

 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;

mã băm int công khai ()

boolean cuối cùng công khai được khởi tạo ()

public static ProfileOptions.Builder newBuilder (nguyên mẫu ProfileOptions )

công khai ProfileOptions.Builder newBuilder ()

public ProfileOptions.Builder newBuilderForType ()

công khai ProfileOptions phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)

Ném
IOException

công khai ProfileOptions phân tích cú phápDelimitedFrom (Đầu vàoInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

phân tích cú pháp ProfileOptions tĩnh công khai (dữ liệu ByteBuffer)

Ném
Giao thức đệm ngoại lệ không hợp lệ

công khai ProfileOptions phân tích cú pháp từ (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

công khai ProfileOptions phân tích cú pháp từ (dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

ProfileOptions tĩnh công khai phân tích cú phápFrom (đầu vào com.google.protobuf.CodedInputStream)

Ném
IOException

phân tích cú pháp tĩnh công khai ProfileOptionsFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

phân tích cú pháp ProfileOptions tĩnh công khai (dữ liệu com.google.protobuf.ByteString)

Ném
Giao thức đệm ngoại lệ không hợp lệ

phân tích cú pháp ProfileOptions tĩnh công khai (đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

công khai ProfileOptions phân tích cú pháp từ (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

công cộng tĩnh trình phân tích cú pháp ()

public ProfileOptions.Builder toBuilder ()

public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Ném
IOException