Fix typos in profiler.h (#16938)
This commit is contained in:
parent
3ba1f72f88
commit
3c9cd2576c
@ -61,18 +61,18 @@ class Profiler {
|
|||||||
/// Adds tracing information `run_meta` to profiler. A `run_meta` is
|
/// Adds tracing information `run_meta` to profiler. A `run_meta` is
|
||||||
/// generated by a TensorFlow session run call. `step` is the key
|
/// generated by a TensorFlow session run call. `step` is the key
|
||||||
/// to the `run_meta`. When calling ProfileXXX methods, caller can specify
|
/// to the `run_meta`. When calling ProfileXXX methods, caller can specify
|
||||||
/// `step` in `options` to seletively profile the corresponding `run_meta`.
|
/// `step` in `options` to selectively profile the corresponding `run_meta`.
|
||||||
/// Multiple different `run_meta` can be keyed by the same `step` in order
|
/// Multiple different `run_meta` can be keyed by the same `step` in order
|
||||||
/// to group them together.
|
/// to group them together.
|
||||||
void AddStep(int64 step, const RunMetadata& run_meta);
|
void AddStep(int64 step, const RunMetadata& run_meta);
|
||||||
|
|
||||||
/// Profiles the model by organizing nodes in graph structure.
|
/// Profiles the model by organizing nodes in graph structure.
|
||||||
/// Each node is an op and the nodes are contected by the op inputs/outputs.
|
/// Each node is an op and the nodes are connected by the op inputs/outputs.
|
||||||
GraphNodeProto ProfileGraph(const Options& options);
|
GraphNodeProto ProfileGraph(const Options& options);
|
||||||
|
|
||||||
/// Profiles the model by organizing nodes in name scope structure.
|
/// Profiles the model by organizing nodes in name scope structure.
|
||||||
/// Each node is an op, and nodes are organized by the ops' name
|
/// Each node is an op, and nodes are organized by the ops' name
|
||||||
/// scope, similar to a filesystem tree.
|
/// scope, similar to a file system tree.
|
||||||
/// E.g. /foo is the root of operation /foo/matmul_1 and foo/conv_2.
|
/// E.g. /foo is the root of operation /foo/matmul_1 and foo/conv_2.
|
||||||
GraphNodeProto ProfileNameScope(const Options& options);
|
GraphNodeProto ProfileNameScope(const Options& options);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user