Function load_from_npy¶
function load_from_npy(tensor<T, Dims> &, Fn &&) base¶
template <typename T, index_t Dims, typename Fn>
npy_decode_result load_from_npy(tensor<T, Dims>& result, Fn&& read_callback) Loads a tensor from .npy format using a custom read callback.
| T | Element type of the tensor. |
| Dims | Number of dimensions. |
| Fn | Read callback type. |
| result | Tensor to populate with loaded data. |
| read_callback | Callback used to read binary data. |
| Status code indicating success or failure reason. |
Fully qualified name: kfr::load_from_npy(tensor<T, Dims> &, Fn &&)
Declared at base/npy.hpp:418
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.