| 432 | } |
| 433 | |
| 434 | Tensor TensorHQResize(Tensor &src, const Shape &outShape, std::optional<bool> antialias, std::optional<Roi> roi, |
| 435 | std::optional<NVCVInterpolationType> interpolation, |
| 436 | std::optional<NVCVInterpolationType> minInterpolation, |
| 437 | std::optional<NVCVInterpolationType> magInterpolation, std::optional<Stream> pstream) |
| 438 | { |
| 439 | auto resizedShape = ResizedTensorShape(src.layout(), src.shape(), outShape); |
| 440 | Tensor dst = Tensor::Create(resizedShape, src.dtype(), src.layout()); |
| 441 | return TensorHQResizeInto(dst, src, antialias, roi, interpolation, minInterpolation, magInterpolation, pstream); |
| 442 | } |
| 443 | |
| 444 | ImageBatchVarShape VarShapeHQResizeInto(ImageBatchVarShape &dst, const ImageBatchVarShape &src, |
| 445 | std::optional<bool> antialias, const std::optional<Rois> &roi, |
nothing calls this directly
no test coverage detected