You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Currently, NumPy is integrated through py::array_t (a pybind11 builtin). This allows users to create LoopTool native tensors from NumpPy NDArrays.
https://github.com/facebookresearch/loop_tool/blob/main/src/frontends/python.cpp#L51-L69
Notably, there is an optional "copy" flag that allows the user to instead the underlying NumPy data, saving on reads/writes.
Both of these features can be adopted for PyTorch Tensors.
The text was updated successfully, but these errors were encountered: