feat(math): implement slice for tensor_view
This commit is contained in:
@@ -66,8 +66,8 @@ struct tensor_traits {};
|
||||
template <typename T, std::size_t... Dims>
|
||||
struct tensor_traits<tensor<T, Dims...>> {
|
||||
using tensor_type = tensor<T, Dims...>;
|
||||
using value_type = tensor_storage<tensor_type>::value_type;
|
||||
using storage_type = tensor_storage<tensor_type>::storage_type;
|
||||
using value_type = typename tensor_storage<tensor_type>::value_type;
|
||||
using storage_type = typename tensor_storage<tensor_type>::storage_type;
|
||||
|
||||
static constexpr auto rank = sizeof...(Dims);
|
||||
static constexpr auto dynamic = is_tensor_dynamic_v<tensor_type>;
|
||||
|
||||
Reference in New Issue
Block a user