MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / IsPlacedOnCPU

Function IsPlacedOnCPU

tensorflow/core/profiler/internal/tfprof_node.cc:294–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292 device.find("sycl") != device.npos;
293}
294bool IsPlacedOnCPU(const string& device) {
295 return device.find("cpu") != device.npos;
296}
297} // namespace tfprof
298} // namespace tensorflow

Callers 2

GenerateGraphTimelineMethod · 0.85
AddMemoryStatsMethod · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected