MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / Resize

Function Resize

python/mod_cvcuda/operators/OpResize.cpp:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51Tensor Resize(Tensor &input, const Shape &out_shape, NVCVInterpolationType interp, std::optional<Stream> pstream)
52{
53 Tensor output = Tensor::Create(out_shape, input.dtype(), input.shape().layout());
54
55 return ResizeInto(output, input, interp, pstream);
56}
57
58ImageBatchVarShape ResizeVarShapeInto(ImageBatchVarShape &output, ImageBatchVarShape &input,
59 NVCVInterpolationType interp, std::optional<Stream> pstream)

Callers

nothing calls this directly

Calls 4

ResizeIntoFunction · 0.85
dtypeMethod · 0.45
layoutMethod · 0.45
shapeMethod · 0.45

Tested by

no test coverage detected