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

Function apply

imperative/src/include/megbrain/imperative/dispatch.h:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39template <typename T>
40static ValueRefList apply(T&& op, const ValueRef& arg) {
41 return imperative::apply(std::forward<T&&>(op), Span<ValueRef>{&arg, 1});
42}
43
44template <typename T, typename... TArgs>
45static auto apply(T&& op, TArgs&&... args) -> std::enable_if_t<

Callers 7

hashMethod · 0.70
operator()Method · 0.50
apply_complex_maskMethod · 0.50
apply_complex_realMethod · 0.50
apply_transformationMethod · 0.50
apply_transformationMethod · 0.50
apply_transformationMethod · 0.50

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected