| 87 | } |
| 88 | |
| 89 | ImageBatchVarShape VarShapeGaussian(ImageBatchVarShape &input, const std::tuple<int, int> &max_kernel_size, |
| 90 | Tensor &ksize, Tensor &sigma, NVCVBorderType border, std::optional<Stream> pstream) |
| 91 | { |
| 92 | ImageBatchVarShape output = ImageBatchVarShape::Create(input.capacity()); |
| 93 | |
| 94 | for (int i = 0; i < input.numImages(); ++i) |
| 95 | { |
| 96 | output.pushBack(Image::Create(input[i].size(), input[i].format())); |
| 97 | } |
| 98 | |
| 99 | return VarShapeGaussianInto(output, input, max_kernel_size, ksize, sigma, border, pstream); |
| 100 | } |
| 101 | |
| 102 | } // namespace |
| 103 | |