cc/profiler/profiler.h: Marking single-parameter constructor as explicit
This commit is contained in:
parent
44275dc6b0
commit
78a3e527ca
@ -58,7 +58,7 @@ namespace tfprof {
|
|||||||
class Profiler {
|
class Profiler {
|
||||||
public:
|
public:
|
||||||
/// `graph` is the model's GraphDef.
|
/// `graph` is the model's GraphDef.
|
||||||
Profiler(const GraphDef& graph);
|
explicit Profiler(const GraphDef& graph);
|
||||||
|
|
||||||
/// 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user