Searched refs:is_expensive (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/platform/ |
D | tracing.h | 156 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/ |
D | instruction_fusion.h | 38 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/ |
D | traceme.h | 35 inline int GetTFTraceMeLevel(bool is_expensive) { return is_expensive ? 2 : 3; } in GetTFTraceMeLevel() argument
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | device_tracer.cc | 353 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/ |
D | cpu_instruction_fusion.cc | 97 is_expensive(*producer)) { in ShouldFuse()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | instruction_fusion.cc | 233 is_expensive(*producer)) { in ShouldFuseInexpensiveChecks()
|