| 51 | |
| 52 | template <typename U, typename T> |
| 53 | inline void fill_tensor(U &&tensor, const std::vector<T> &v) |
| 54 | { |
| 55 | std::memcpy(tensor.data(), v.data(), sizeof(T) * v.size()); |
| 56 | } |
| 57 | |
| 58 | template <typename T> |
| 59 | inline void fill_tensor(Accessor &&tensor, const std::vector<T> &v) |
no test coverage detected