lgarithm / crystalnet

crystalnet -- a mini core AI library (being refactored, see https://github.com/lgarithm/stdnn-ops)
MIT License
16 stars 3 forks source link

proxy tensor #70

Closed lgarithm closed 6 years ago

lgarithm commented 6 years ago

take a look at #include <valarray>

lgarithm commented 6 years ago

The valarray will copy data into its own memory on construction, and can't use user provided memory.

lgarithm commented 6 years ago

take a look at array_view