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

Function VarShapeGaussian

python/mod_cvcuda/operators/OpGaussian.cpp:89–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89ImageBatchVarShape 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

Callers

nothing calls this directly

Calls 6

VarShapeGaussianIntoFunction · 0.85
capacityMethod · 0.45
numImagesMethod · 0.45
pushBackMethod · 0.45
sizeMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected