/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/core/wrappers/generic_tensor_wrapper.hpp Source File#
3 min read time
Applies to Linux
generic_tensor_wrapper.hpp
Go to the documentation of this file.
Definition: generic_tensor_wrapper.hpp:28
std::array< int64_t, ROCCV_TENSOR_MAX_RANK > strides
Definition: generic_tensor_wrapper.hpp:60
std::array< int64_t, ROCCV_TENSOR_MAX_RANK > shape
Definition: generic_tensor_wrapper.hpp:59
__device__ __host__ T & at(ARGS... idx)
Definition: generic_tensor_wrapper.hpp:48
GenericTensorWrapper(const Tensor &tensor)
Constructs a generic tensor descriptor from a roccv::Tensor.
Definition: generic_tensor_wrapper.hpp:35
Holds the underlying tensor data alongside tensor metadata. This particular tensor data type is used ...
Definition: tensor_data.hpp:114
Definition: tensor.hpp:37
Definition: strided_data_wrap.hpp:33