17 #include "fastdeploy/core/fd_tensor.h" 18 #include "fastdeploy/vision/common/processors/mat.h" 21 #include <nvcv/Tensor.hpp> 22 #include <nvcv/ImageBatch.hpp> 23 #include <cvcuda/Types.h> 28 nvcv::ImageFormat CreateCvCudaImageFormat(FDDataType type,
int channel,
29 bool interleaved =
true);
30 std::shared_ptr<nvcv::TensorWrapData> CreateCvCudaTensorWrapData(
const FDTensor& tensor,
31 Layout layout = Layout::HWC);
32 void* GetCvCudaTensorDataPtr(
const nvcv::TensorWrapData& tensor);
33 nvcv::ImageWrapData CreateImageWrapData(
const FDTensor& tensor);
34 void CreateCvCudaImageBatchVarShape(std::vector<FDTensor*>& tensors,
35 nvcv::ImageBatchVarShape& img_batch);
36 NVCVInterpolationType CreateCvCudaInterp(
int interp);
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16