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

Function py35_make_custom_op

imperative/python/src/ops.cpp:785–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783
784#ifndef METH_FASTCALL
785PyObject* py35_make_custom_op(PyObject* self, PyObject* args) {
786 auto* arr = &PyTuple_GET_ITEM(args, 0);
787 auto size = PyTuple_GET_SIZE(args);
788 return make_custom_op(self, arr, size);
789};
790#endif
791
792void init_custom(pybind11::module m) {

Callers

nothing calls this directly

Calls 1

make_custom_opFunction · 0.85

Tested by

no test coverage detected