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

Method GetNodeCost

tensorflow/core/common_runtime/kernel_stat.h:254–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 }
253
254 int64 GetNodeCost(const NodeItem* item) {
255 if (item->node->id() >= nodes_count_) {
256 LOG(WARNING) << "Item node is exceed nodes_count_, "
257 << item->node->id() << " VS " << nodes_count_;
258 }
259 return immutable_avg_cost_[item->node->id()];
260 }
261
262 int64 GetIntraCost(const NodeItem* item) {
263 if (item->node->id() >= nodes_count_) {

Callers 1

CostScheduleReadyMethod · 0.45

Calls 1

idMethod · 0.45

Tested by

no test coverage detected