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

Function use_cpp_method

imperative/python/megengine/xla/utils.py:86–89  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

84
85
86def use_cpp_method(f):
87 original_func = _unwrap_func(f)
88 original_func._use_cpp = True
89 return f
90
91
92# (a, b, c), 1, x -> (a, x, b, c)

Callers

nothing calls this directly

Calls 1

_unwrap_funcFunction · 0.85

Tested by

no test coverage detected