Skip to content

Commit

Permalink
fix trace op record event error (#42775) (#42789)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenwhql authored May 17, 2022
1 parent a40e60f commit af79273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/imperative/tracer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ void Tracer::TraceOpImpl(const std::string& type,
paddle::framework::AttributeMap* passed_default_attrs_,
bool use_default_attr_map) {
platform::RecordEvent op_type_record_event(
"trace_op", platform::TracerEventType::Operator, 1);
type, platform::TracerEventType::Operator, 1);
platform::ScopedFlushDenormal flush;
VLOG(1) << "Trace Op: " << type;
if (FLAGS_use_mkldnn) {
Expand Down

0 comments on commit af79273

Please sign in to comment.