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

Method AddStep

tensorflow/cc/profiler/profiler.cc:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void Profiler::AddStep(int64 step, const RunMetadata& run_meta) {
27 std::unique_ptr<RunMetadata> run_meta_ptr(new RunMetadata());
28 *run_meta_ptr = run_meta;
29 stats_->AddRunMeta(step, std::move(run_meta_ptr));
30}
31
32GraphNodeProto Profiler::ProfileGraph(const Options& options) {
33 stats_->BuildView(kCmds[1]);

Callers 2

add_stepMethod · 0.80
TEST_FFunction · 0.80

Calls 1

AddRunMetaMethod · 0.80

Tested by 1

TEST_FFunction · 0.64