/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/common/strided_data_wrap.hpp File Reference

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/common/strided_data_wrap.hpp File Reference#

2 min read time

Applies to Linux

rocCV: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/common/strided_data_wrap.hpp File Reference
strided_data_wrap.hpp File Reference
#include <cstddef>
#include <iostream>
#include <type_traits>
#include "core/exception.hpp"
#include "core/status_type.h"
#include "core/tensor.hpp"
#include "core/tensor_data.hpp"

Go to the source code of this file.

Classes

class  roccv::detail::StridedDataWrap< RANK >
 

Namespaces

 roccv
 
 roccv::detail
 

Functions

template<eTensorLayout LAYOUT>
auto roccv::detail::get_sdwrapper (const roccv::Tensor &tensor) -> const StridedDataWrap< layout_get_rank< LAYOUT >()>
 
template<eTensorLayout LAYOUT>
auto roccv::detail::get_sdwrapper (roccv::Tensor &tensor) -> StridedDataWrap< layout_get_rank< LAYOUT >()>
 
template<>
auto roccv::detail::get_sdwrapper< TENSOR_LAYOUT_LNHWC > (const roccv::Tensor &tensor) -> const StridedDataWrap< layout_get_rank< TENSOR_LAYOUT_LNHWC >()>
 
template<>
auto roccv::detail::get_sdwrapper< TENSOR_LAYOUT_NHWC > (const roccv::Tensor &tensor) -> const StridedDataWrap< layout_get_rank< TENSOR_LAYOUT_NHWC >()>
 
template<>
auto roccv::detail::get_sdwrapper< TENSOR_LAYOUT_NMC > (const roccv::Tensor &tensor) -> const StridedDataWrap< layout_get_rank< TENSOR_LAYOUT_NMC >()>
 
template<>
auto roccv::detail::get_sdwrapper< TENSOR_LAYOUT_NMD > (const roccv::Tensor &tensor) -> const StridedDataWrap< layout_get_rank< TENSOR_LAYOUT_NMD >()>
 
template<eTensorLayout LAYOUT>
constexpr size_t roccv::detail::layout_get_rank ()
 
template<>
constexpr size_t roccv::detail::layout_get_rank< TENSOR_LAYOUT_HWC > ()
 
template<>
constexpr size_t roccv::detail::layout_get_rank< TENSOR_LAYOUT_LNHWC > ()
 
template<>
constexpr size_t roccv::detail::layout_get_rank< TENSOR_LAYOUT_NHWC > ()
 
template<>
constexpr size_t roccv::detail::layout_get_rank< TENSOR_LAYOUT_NMC > ()
 
template<>
constexpr size_t roccv::detail::layout_get_rank< TENSOR_LAYOUT_NMD > ()