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

Method trackable

tensorflow/core/profiler/internal/tfprof_node.h:371–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369 const ProfileNode& node() { return node_; }
370
371 bool trackable(int64 step) const {
372 auto exec = execs_.find(step);
373 if (exec == execs_.end()) return false;
374
375 if (exec->second.all_start_micros() == 0) return false;
376 if (node_.canonical_device().empty() || node_.host_device().empty()) {
377 return false;
378 }
379 return true;
380 }
381
382 const ProfileNode& ToProto(
383 const std::map<string, std::unique_ptr<TFGraphNode>>& nodes_map) {

Callers 1

TrackableMethod · 0.45

Calls 6

canonical_deviceMethod · 0.80
findMethod · 0.45
endMethod · 0.45
all_start_microsMethod · 0.45
emptyMethod · 0.45
host_deviceMethod · 0.45

Tested by

no test coverage detected