MCPcopy Create free account
hub / github.com/alibaba/MNN / PyMNNExpr_stack

Function PyMNNExpr_stack

pymnn/src/expr.h:1625–1632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1623 PyMNN_ERROR("shape require args: (Var)");
1624}
1625static PyObject* PyMNNExpr_stack(PyObject *self, PyObject *args) {
1626 PyObject *values;
1627 int axis;
1628 if (PyArg_ParseTuple(args, "Oi", &values, &axis) && isVars(values)) {
1629 return toPyObj(Express::_Stack(toVars(values), axis));
1630 }
1631 PyMNN_ERROR("stack require args: ([Var], int)");
1632}
1633static PyObject* PyMNNExpr_jsonop(PyObject *self, PyObject *args) {
1634 PyObject *values;
1635 const char* describe;

Callers

nothing calls this directly

Calls 4

isVarsFunction · 0.85
_StackFunction · 0.85
toVarsFunction · 0.85
toPyObjFunction · 0.70

Tested by

no test coverage detected