Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dinstruction_fusion.h42 std::function<bool(const HloInstruction& instruction)> is_expensive,
46 : is_expensive_(is_expensive), in is_expensive_() argument
124 bool is_expensive(const HloInstruction& instruction) { in is_expensive() function
/external/tensorflow/tensorflow/core/profiler/lib/
Dtraceme.h54 inline int GetTFTraceMeLevel(bool is_expensive) { in GetTFTraceMeLevel() argument
55 return is_expensive ? kInfo : kVerbose; in GetTFTraceMeLevel()
/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor.cc531 bool is_expensive) { in MightTrace() argument
545 return profiler::TraceMe::Active(profiler::GetTFTraceMeLevel(is_expensive)); in MightTrace()
558 const bool is_expensive = kernel_stats_->IsExpensive(item); in ProcessSync() local
560 if (TF_PREDICT_FALSE(MightTrace(event_collector_, is_expensive))) { in ProcessSync()
568 profiler::GetTFTraceMeLevel(is_expensive)); in ProcessSync()
577 if (is_expensive || in ProcessSync()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dinstruction_fusion.cc68 if (producer->opcode() != HloOpcode::kFusion && is_expensive(*producer) && in ShouldFuseInexpensiveChecks()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion.cc97 if (producer->opcode() != HloOpcode::kFusion && is_expensive(*producer) && in ShouldFuse()