MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / sqr

Function sqr

dnn/src/common/utils.h:237–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 */
236template <typename num_t>
237num_t sqr(num_t x) {
238 return x * x;
239}
240
241template <typename T, typename... Args>
242std::unique_ptr<T> make_unique(Args&&... args) {

Callers 2

repFunction · 0.85
repFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected