NVIDIA DeepStream SDK API Reference

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

Detailed Description

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

Definition at line 295 of file Tensor.h.

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

Static Public Attributes

static constexpr int kDimCount = 2
 
static constexpr int kLength = TL == LC ? 0 : 1
 
static constexpr int kChannel = TL == LC ? 1 : 0
 

Field Documentation

◆ kChannel

template<TensorLayout TL>
constexpr int cvcore::detail::DimToIndex2D< TL >::kChannel = TL == LC ? 1 : 0
staticconstexprinherited

Definition at line 267 of file Tensor.h.

◆ kDimCount

template<TensorLayout TL>
constexpr int cvcore::detail::LayoutToIndex< TL, typename std::enable_if< TL==LC||TL==CL >::type >::kDimCount = 2
staticconstexpr

Definition at line 297 of file Tensor.h.

◆ kLength

template<TensorLayout TL>
constexpr int cvcore::detail::DimToIndex2D< TL >::kLength = TL == LC ? 0 : 1
staticconstexprinherited

Definition at line 266 of file Tensor.h.


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