Merge commit '5948dbffe4d0bbe4d1802a047bd8599ba662386e' into develop

This commit is contained in:
assistant-librarian[bot]
2025-11-24 09:15:05 +00:00
parent 7bd01a9f5f
commit f2425d427c
17 changed files with 369 additions and 280 deletions

View File

@@ -598,6 +598,8 @@ struct HostTensor
typename Data::size_type size() const { return mData.size(); }
T max() const { return *std::max_element(mData.begin(), mData.end()); }
// return a slice of this tensor
// for simplicity we just copy the data and return a new tensor
auto slice(std::vector<size_t> s_begin, std::vector<size_t> s_end) const