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

Function SetActivityID

tensorflow/core/common_runtime/executor.cc:131–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void SetActivityID(NodeExecStatsInterface* stats) {
132 if (!stats) return;
133 stats->SetActivityID(tracing::CallingContext::GetAndPush());
134}
135
136static const std::string enable_cost_model_env_name =
137 "ENABLE_EXECUTE_COST_MODEL";

Callers 1

BatchProcessMethod · 0.85

Calls 1

SetActivityIDMethod · 0.45

Tested by

no test coverage detected