Function save_to_npy¶
function save_to_npy(const tensor<T, Dims> &, Fn &&) base¶
template <typename T, index_t Dims, typename Fn>
void save_to_npy(const tensor<T, Dims>& t, Fn&& write_callback) Saves a tensor to .npy format using a custom write callback.
| T | Element type of the tensor. |
| Dims | Number of dimensions. |
| Fn | Write callback type. |
| t | Tensor to save. |
| write_callback | Callback used to write binary data. |
Fully qualified name: kfr::save_to_npy(const tensor<T, Dims> &, Fn &&)
Declared at base/npy.hpp:363
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.