ProfileOptions

نمایه گزینه های کلاس نهایی عمومی

 Next ID: 11
 
نوع Protobuf tensorflow.ProfileOptions

کلاس های تو در تو

کلاس ProfileOptions.Builder
 Next ID: 11
 
نوع Protobuf tensorflow.ProfileOptions
enum ProfileOptions.DeviceType Protobuf enum tensorflow.ProfileOptions.DeviceType

ثابت ها

بین المللی DEVICE_TRACER_LEVEL_FIELD_NUMBER
بین المللی DEVICE_TYPE_FIELD_NUMBER
بین المللی DURATION_MS_FIELD_NUMBER
بین المللی ENABLE_HLO_PROTO_FIELD_NUMBER
بین المللی HOST_TRACER_LEVEL_FIELD_NUMBER
بین المللی INCLUDE_DATASET_OPS_FIELD_NUMBER
بین المللی PYTHON_TRACER_LEVEL_FIELD_NUMBER
بین المللی REPOSITORY_PATH_FIELD_NUMBER
بین المللی START_TIMESTAMP_NS_FIELD_NUMBER
بین المللی VERSION_FIELD_NUMBER

روش های عمومی

بولی
برابر است (object obj)
Static ProfileOptions
ProfileOptions
نهایی static com.google.protobuf.Descriptors.Descriptor
بین المللی
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.
بین المللی
getDeviceTypeValue ()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
طولانی
getDurationMs ()
 The local profiler collects `duration_ms` milliseconds of data.
بولی
getEnableHloProto ()
 Whether serialize hlo_proto when XLA is used.
بین المللی
getHostTracerLevel ()
 Levels of host tracing: (version >= 1)
 - Level 0 is used to disable host traces.
بولی
getIncludeDatasetOps ()
 We don't collect the dataset ops by default for better trace-viewer
 scalability.
بین المللی
getPythonTracerLevel ()
 Whether enable python function calls tracing.
رشته
getRepositoryPath ()
 Directory to save profile data to.
com.google.protobuf.ByteString
getRepositoryPathBytes ()
 Directory to save profile data to.
بین المللی
طولانی
getStartTimestampNs ()
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
com.google.protobuf.UnknownFieldSet نهایی
بین المللی
getVersion ()
 Some default value of option are not proto3 default value.
بین المللی
بولی نهایی
Static ProfileOptions.Builder
newBuilder (نمونه اولیه ProfileOptions )
Static ProfileOptions.Builder
ProfileOptions.Builder
Static ProfileOptions
parseDelimitedFrom (ورودی جریان ورودی)
Static ProfileOptions
parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Static ProfileOptions
parseFrom (داده های ByteBuffer)
Static ProfileOptions
parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Static ProfileOptions
parseFrom (داده‌های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Static ProfileOptions
parseFrom (ورودی com.google.protobuf.CodedInputStream)
Static ProfileOptions
parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Static ProfileOptions
parseFrom (داده های com.google.protobuf.ByteString)
Static ProfileOptions
parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Static ProfileOptions
parseFrom (داده‌های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ایستا
ProfileOptions.Builder
خالی
writeTo (خروجی com.google.protobuf.CodedOutputStream)

روش های ارثی

ثابت ها

DEVICE_TRACER_LEVEL_FIELD_NUMBER نهایی استاتیک عمومی

مقدار ثابت: 3

DEVICE_TYPE_FIELD_NUMBER نهایی استاتیک عمومی

مقدار ثابت: 6

DURATION_MS_FIELD_NUMBER نهایی استاتیک عمومی

مقدار ثابت: 9

نهایی استاتیک عمومی ENABLE_HLO_PROTO_FIELD_NUMBER

ارزش ثابت: 7

نهایی استاتیک عمومی HOST_TRACER_LEVEL_FIELD_NUMBER

مقدار ثابت: 2

نهایی استاتیک عمومی INCLUDE_DATASET_OPS_FIELD_NUMBER

ارزش ثابت: 1

PYTHON_TRACER_LEVEL_FIELD_NUMBER نهایی استاتیک عمومی

ارزش ثابت: 4

نهایی استاتیک عمومی REPOSITORY_PATH_FIELD_NUMBER

ارزش ثابت: 10

نهایی استاتیک عمومی START_TIMESTAMP_NS_FIELD_NUMBER

مقدار ثابت: 8

نهایی استاتیک عمومی VERSION_FIELD_NUMBER

ارزش ثابت: 5

روش های عمومی

بولین عمومی برابر است (Object Obj)

عمومی استاتیک ProfileOptions getDefaultInstance ()

عمومی ProfileOptions getDefaultInstanceForType ()

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

عمومی 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;

عمومی 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 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 ()

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

بولی عمومی getEnableHloProto ()

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

عمومی 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;

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;

عمومی getParserForType ()

عمومی int getPythonTracerLevel ()

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

رشته عمومی getRepositoryPath ()

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

عمومی com.google.protobuf.ByteString getRepositoryPathBytes ()

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

عمومی int getSerializedSize ()

getStartTimestampNهای طولانی عمومی ()

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

عمومی نهایی com.google.protobuf.UnknownFieldSet getUnknownFields ()

عمومی 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;

هش کد عمومی ()

بولین نهایی عمومی isInitialized ()

Public Static ProfileOptions.Builder newBuilder (نمونه اولیه ProfileOptions )

Public Static ProfileOptions.Builder newBuilder ()

public ProfileOptions.Builder newBuilderForType ()

Public Static ProfileOptions parseDelimitedFrom (ورودی جریان ورودی)

پرتاب می کند
IOException

Public Static ProfileOptions parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک ProfileOptions parseFrom (داده ByteBuffer)

پرتاب می کند
InvalidProtocolBufferException

Public Static ProfileOptions parseFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

Public Static ProfileOptions parseFrom (داده‌های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

Public Static ProfileOptions parseFrom (ورودی com.google.protobuf.CodedInputStream)

پرتاب می کند
IOException

Public Static ProfileOptions parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

Public Static ProfileOptions parseFrom (داده های com.google.protobuf.ByteString)

پرتاب می کند
InvalidProtocolBufferException

Public Static ProfileOptions parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

Public Static ProfileOptions parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

استاتیک عمومی تجزیه کننده ()

عمومی ProfileOptions.Builder toBuilder ()

public void writeTo (خروجی com.google.protobuf.CodedOutputStream)

پرتاب می کند
IOException