NVIDIA DeepStream SDK API Reference

6.4 Release
cvcore::detail::LayoutToIndex< TL, typename std::enable_if< TL==HWC||TL==CHW >::type > Struct Template Reference

Detailed Description

template<TensorLayout TL>
struct cvcore::detail::LayoutToIndex< TL, typename std::enable_if< TL==HWC||TL==CHW >::type >

Definition at line 301 of file Tensor.h.

Inheritance diagram for cvcore::detail::LayoutToIndex< TL, typename std::enable_if< TL==HWC||TL==CHW >::type >:
Collaboration diagram for cvcore::detail::LayoutToIndex< TL, typename std::enable_if< TL==HWC||TL==CHW >::type >:

Static Public Attributes

static constexpr int kDimCount = 3
 
static constexpr int kWidth = TL == HWC ? 1 : 2
 
static constexpr int kHeight = TL == HWC ? 0 : 1
 
static constexpr int kChannel = TL == HWC ? 2 : 0
 

Field Documentation

◆ kChannel

template<TensorLayout TL>
constexpr int cvcore::detail::DimToIndex3D< TL >::kChannel = TL == HWC ? 2 : 0
staticconstexprinherited

Definition at line 276 of file Tensor.h.

◆ kDimCount

template<TensorLayout TL>
constexpr int cvcore::detail::LayoutToIndex< TL, typename std::enable_if< TL==HWC||TL==CHW >::type >::kDimCount = 3
staticconstexpr

Definition at line 303 of file Tensor.h.

◆ kHeight

template<TensorLayout TL>
constexpr int cvcore::detail::DimToIndex3D< TL >::kHeight = TL == HWC ? 0 : 1
staticconstexprinherited

Definition at line 275 of file Tensor.h.

◆ kWidth

template<TensorLayout TL>
constexpr int cvcore::detail::DimToIndex3D< TL >::kWidth = TL == HWC ? 1 : 2
staticconstexprinherited

Definition at line 274 of file Tensor.h.


The documentation for this struct was generated from the following file: