Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit 197da8a

Browse files
committed
fix typo
1 parent 71fde94 commit 197da8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rfcs/20210513-pluggable-profiler-for-tensorflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ This section provides some pseudo code to show what core TensorFlow and plugin's
178178
DeviceType device_type = 6;
179179
}
180180
```
181-
Because `device_type` here is an enum, we cannot differentiate between multiple pluggable profilers. Therefore, we define a common device type `PLUGGABLE_DEVICE` for them, such that if `ProfileOptions` is configured with a `PLUGGABLE_DEVICE` type, then all the registered pluggable profilers will be enabled.
181+
Because `device_type` here is an enum, we cannot differentiate between multiple pluggable profilers. Therefore, we define a common device type `PLUGGABLE_DEVICE` for them, so that if `ProfileOptions` is configured with a `PLUGGABLE_DEVICE` type, all the registered pluggable profilers will be enabled.
182182

183183
* **PluggableProfiler**
184184
`PluggableProfiler` is the implementation of [ProfilerInterface](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/profiler/lib/profiler_interface.h#L33), TensorFlow will instantiate `PluggableProfiler` for each plugin if the plugin provides`TF_InitProfiler` implementation.

0 commit comments

Comments
 (0)