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

Function MinLocTensor

python/mod_cvcuda/operators/OpMinMaxLoc.cpp:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185TupleTensor3 MinLocTensor(Tensor &input, int maxLocs, std::optional<Stream> pstream)
186{
187 auto inAccess = nvcv::TensorDataAccessStridedImagePlanar::Create(input.exportData());
188
189 maxLocs = maxLocs == 0 ? GetDefaultMaxLocs(inAccess->numCols(), inAccess->numRows()) : maxLocs;
190
191 return MinLoc(input, input.dtype(), inAccess->numSamples(), maxLocs, pstream);
192}
193
194TupleTensor3 MinLocVarShape(ImageBatchVarShape &input, int maxLocs, std::optional<Stream> pstream)
195{

Callers

nothing calls this directly

Calls 7

GetDefaultMaxLocsFunction · 0.85
MinLocFunction · 0.85
exportDataMethod · 0.45
numColsMethod · 0.45
numRowsMethod · 0.45
dtypeMethod · 0.45
numSamplesMethod · 0.45

Tested by

no test coverage detected