You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

tensor_utils.h 865 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. namespace mgb::imperative::python {
  3. PyObject* make_shape_tuple(PyObject* self, PyObject* const* args, size_t nargs);
  4. PyObject* getitem_cpp(PyObject* self, PyObject* const* args, size_t nargs);
  5. PyObject* setitem_cpp(PyObject* self, PyObject* const* args, size_t nargs);
  6. PyObject* split_cpp(PyObject* self, PyObject* const* args, size_t nargs);
  7. PyObject* expand_dims_cpp(PyObject* self, PyObject* const* args, size_t nargs);
  8. PyObject* squeeze_cpp(PyObject* self, PyObject* const* args, size_t nargs);
  9. PyObject* transpose_cpp(PyObject* self, PyObject* const* args, size_t nargs);
  10. PyObject* broadcast_cpp(PyObject* self, PyObject* const* args, size_t nargs);
  11. PyObject* reshape_cpp(PyObject* self, PyObject* const* args, size_t nargs);
  12. PyObject* Const(PyObject* self, PyObject* const* args, size_t nargs);
  13. } // namespace mgb::imperative::python