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

Method Build

tensorflow/core/profiler/internal/tfprof_op.cc:94–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void TFOp::Build() {
95 for (auto& tn : tfcnodes_map_) {
96 cnodes_map_[tn.first] =
97 std::unique_ptr<OpNode>(new OpNode(tn.second.get()));
98 }
99
100 tfcnodes_map_[kTFProfRoot] =
101 std::unique_ptr<TFMultiGraphNode>(new TFMultiGraphNode(kTFProfRoot));
102 root_.reset(new OpNode(tfcnodes_map_[kTFProfRoot].get()));
103}
104
105const ShowMultiNode* TFOp::ShowInternal(const Options& opts,
106 Timeline* timeline) {

Callers 1

BuildViewMethod · 0.45

Calls 2

getMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected