ProfileOptions.Builder

パブリック静的最終クラスProfileOptions.Builder

 Next ID: 11
 
Protobuf 型tensorflow.ProfileOptions

パブリックメソッド

ProfileOptions.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
プロファイルオプション
建てる()
プロファイルオプション
ProfileOptions.Builder
クリア()
ProfileOptions.Builder
ClearDeviceTracerLevel ()
 Levels of device tracing: (version >= 1)
 - Level 0 is used to disable device traces.
ProfileOptions.Builder
クリアデバイスタイプ()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
ProfileOptions.Builder
クリア期間Ms ()
 The local profiler collects `duration_ms` milliseconds of data.
ProfileOptions.Builder
ClearEnableHloProto ()
 Whether serialize hlo_proto when XLA is used.
ProfileOptions.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)
ProfileOptions.Builder
ClearHostTracerLevel ()
 Levels of host tracing: (version >= 1)
 - Level 0 is used to disable host traces.
ProfileOptions.Builder
ClearIncludeDatasetOps ()
 We don't collect the dataset ops by default for better trace-viewer
 scalability.
ProfileOptions.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
ProfileOptions.Builder
クリアPythonTracerLevel ()
 Whether enable python function calls tracing.
ProfileOptions.Builder
クリアリポジトリパス()
 Directory to save profile data to.
ProfileOptions.Builder
clearStartTimestampNs ()
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
ProfileOptions.Builder
クリアバージョン()
 Some default value of option are not proto3 default value.
ProfileOptions.Builder
プロファイルオプション
最終的な静的 com.google.protobuf.Descriptors.Descriptor
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.
getリポジトリパス()
 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.
整数
getバージョン()
 Some default value of option are not proto3 default value.
最終ブール値
ProfileOptions.Builder
mergeFrom (com.google.protobuf.Message other)
ProfileOptions.Builder
mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
最終的なProfileOptions.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド)
ProfileOptions.Builder
setDeviceTracerLevel (int 値)
 Levels of device tracing: (version >= 1)
 - Level 0 is used to disable device traces.
ProfileOptions.Builder
setDeviceType ( ProfileOptions.DeviceType値)
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
ProfileOptions.Builder
setDeviceTypeValue (int 値)
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
ProfileOptions.Builder
setDurationMs (長い値)
 The local profiler collects `duration_ms` milliseconds of data.
ProfileOptions.Builder
setEnableHloProto (ブール値)
 Whether serialize hlo_proto when XLA is used.
ProfileOptions.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)
ProfileOptions.Builder
setHostTracerLevel (int 値)
 Levels of host tracing: (version >= 1)
 - Level 0 is used to disable host traces.
ProfileOptions.Builder
setIncludeDatasetOps (ブール値)
 We don't collect the dataset ops by default for better trace-viewer
 scalability.
ProfileOptions.Builder
setPythonTracerLevel (int 値)
 Whether enable python function calls tracing.
ProfileOptions.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)
ProfileOptions.Builder
setRepositoryPath (文字列値)
 Directory to save profile data to.
ProfileOptions.Builder
setRepositoryPathBytes (com.google.protobuf.ByteString 値)
 Directory to save profile data to.
ProfileOptions.Builder
setStartTimestampNs (長い値)
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
最終的なProfileOptions.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
ProfileOptions.Builder
setVersion (int 値)
 Some default value of option are not proto3 default value.

継承されたメソッド

パブリックメソッド

public ProfileOptions.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public ProfileOptions build ()

public ProfileOptions buildPartial ()

public ProfileOptions.Builder clear ()

public ProfileOptions.Builder clearDeviceTracerLevel ()

 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.Builder clearDeviceType ()

 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 ProfileOptions.Builder clearDurationMs ()

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

public ProfileOptions.Builder clearEnableHloProto ()

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

public ProfileOptions.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor フィールド)

public ProfileOptions.Builder clearHostTracerLevel ()

 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 ProfileOptions.Builder clearIncludeDatasetOps ()

 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;

public ProfileOptions.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public ProfileOptions.Builder clearPythonTracerLevel ()

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

public ProfileOptions.Builder clearRepositoryPath ()

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

public ProfileOptions.Builder clearStartTimestampNs ()

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

public ProfileOptions.Builder clearVersion ()

 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 ProfileOptions.Builderクローン()

public ProfileOptions getDefaultInstanceForType ()

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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

public int getPythonTracerLevel ()

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

パブリック String 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 long getStartTimestampNs ()

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

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;

パブリック最終ブール値isInitialized ()

public ProfileOptions.Builder mergeFrom (com.google.protobuf.Message other)

public ProfileOptions.Builder mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public Final ProfileOptions.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public ProfileOptions.Builder setDeviceTracerLevel (int 値)

 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.Builder setDeviceType ( ProfileOptions.DeviceType値)

 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 ProfileOptions.Builder setDeviceTypeValue (int 値)

 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 ProfileOptions.Builder setDurationMs (長い値)

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

public ProfileOptions.Builder setEnableHloProto (ブール値)

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

public ProfileOptions.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値)

public ProfileOptions.Builder setHostTracerLevel (int 値)

 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 ProfileOptions.Builder setIncludeDatasetOps (ブール値)

 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;

public ProfileOptions.Builder setPythonTracerLevel (int 値)

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

public ProfileOptions.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、int インデックス、オブジェクト値)

public ProfileOptions.Builder setRepositoryPath (文字列値)

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

public ProfileOptions.Builder setRepositoryPathBytes (com.google.protobuf.ByteString 値)

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

public ProfileOptions.Builder setStartTimestampNs (長い値)

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

public Final ProfileOptions.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public ProfileOptions.Builder setVersion (int 値)

 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;