CV-CUDA icon indicating copy to clipboard operation
CV-CUDA copied to clipboard

nvcv::Tensor batch dimension operation

Open tensorflowt opened this issue 8 months ago • 0 comments

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)?

tensorflowt avatar May 27 '24 06:05 tensorflowt