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

Method Insert

tensorflow/stream_executor/matmul_util.h:145–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 return &iter->second;
144 }
145 const blas::PlanAndAlgorithms* Insert(const BatchMatmulParameters& params,
146 blas::PlanAndAlgorithms value) {
147 absl::MutexLock lock(&mu_);
148 return &params_plan_map_.emplace(params, std::move(value)).first->second;
149 }
150
151 private:
152 mutable absl::Mutex mu_;

Callers 1

GetPlanAndAlgorithmsFunction · 0.45

Calls 1

emplaceMethod · 0.45

Tested by

no test coverage detected