CV-CUDA
CV-CUDA copied to clipboard
nvcv::Tensor batch dimension operation
I would like to ask if nvcv::Tensor currently supports dimension splicing.
For example, when I perform batch preprocessing here, different frame images will produce multiple nvcv::Tensor:
nvcv::Tensor inputTensor1(2, {m_model_width, m_model_height}, nvcv::FMT_RGBf32p ), nvcv::Tensor inputTensor1(3, {m_model_width, m_model_height}, nvcv::FMT_RGBf32p), nvcv::Tensor inputTensor1(7, {m_model_width, m_model_height}, nvcv::FMT_RGBf32p),
what operations do I need to do? Is it spliced into a new inputTensor4(12, {m_model_width, m_model_height}, nvcv::FMT_RGBf32p)?