diff options
Diffstat (limited to 'tensorflow/tools/tfprof/internal/tfprof_op.h')
-rw-r--r-- | tensorflow/tools/tfprof/internal/tfprof_op.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/tools/tfprof/internal/tfprof_op.h b/tensorflow/tools/tfprof/internal/tfprof_op.h index 34812f54be..5b16490363 100644 --- a/tensorflow/tools/tfprof/internal/tfprof_op.h +++ b/tensorflow/tools/tfprof/internal/tfprof_op.h @@ -56,15 +56,15 @@ class TFOp : public TFMultiShow { int64 SearchRoot(const std::vector<OpNode*> nodes, const std::vector<string>& regexes); - bool ShouldShowIfExtra(const ShowMultiNode* node, const Options& opts, - int depth) const override { + bool ShouldShowIfExtra(ShowMultiNode* node, const Options& opts, + int depth) override { if (opts.min_occurrence > node->node->graph_nodes().size()) { return false; } return true; } - string FormatNode(OpNode* node, OpNode* root, const Options& opts) const; + string FormatNode(OpNode* node, OpNode* root, const Options& opts); std::unique_ptr<OpNode> root_; std::map<string, std::unique_ptr<OpNode>> cnodes_map_; |