Home
last modified time | relevance | path

Searched refs:is_expensive (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Dtracing.h156 bool is_expensive) const = 0;
163 virtual bool IsEnabledForActivities(bool is_expensive) const = 0;
214 explicit ScopedActivity(StringPiece name, bool is_expensive = true)
215 : ScopedActivity(name, StringPiece(), is_expensive) {} in ScopedActivity() argument
222 bool is_expensive = true)
226 name_part1, name_part2, is_expensive)
/external/tensorflow/tensorflow/compiler/xla/service/
Dinstruction_fusion.h38 std::function<bool(const HloInstruction& instruction)> is_expensive,
40 : is_expensive_(is_expensive), may_duplicate_(may_duplicate) {} in is_expensive_() argument
110 bool is_expensive(const HloInstruction& instruction) { in is_expensive() function
/external/tensorflow/tensorflow/core/profiler/lib/
Dtraceme.h35 inline int GetTFTraceMeLevel(bool is_expensive) { return is_expensive ? 2 : 3; } in GetTFTraceMeLevel() argument
/external/tensorflow/tensorflow/core/platform/default/
Ddevice_tracer.cc353 StringPiece name_part1, StringPiece name_part2, bool is_expensive) const { in CreateActivityHandle()
354 if (!IsEnabledForActivities(is_expensive)) { in CreateActivityHandle()
358 ConcatenateNames(name_part1, name_part2), GetLevel(is_expensive)); in CreateActivityHandle()
365 bool IsEnabledForActivities(bool is_expensive) const override { in IsEnabledForActivities()
366 return profiler::TraceMeRecorder::Active(GetLevel(is_expensive)); in IsEnabledForActivities()
381 static int GetLevel(bool is_expensive) { in GetLevel() argument
382 return profiler::GetTFTraceMeLevel(is_expensive); in GetLevel()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion.cc97 is_expensive(*producer)) { in ShouldFuse()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dinstruction_fusion.cc233 is_expensive(*producer)) { in ShouldFuseInexpensiveChecks()