Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 632720008
  • Loading branch information
tensorflower-gardener committed May 11, 2024
1 parent f59ac86 commit 66d73f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/core/common_runtime/executor.cc
Expand Up @@ -576,7 +576,7 @@ bool MightTrace(const tracing::EventCollector* event_collector,
return true;
}

if (profiler::ScopedAnnotation::IsEnabled()) return true;
if (tsl::profiler::ScopedAnnotation::IsEnabled()) return true;

return profiler::TraceMe::Active(profiler::GetTFTraceMeLevel(is_expensive));
}
Expand Down

0 comments on commit 66d73f8

Please sign in to comment.