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

Function MaxLocVarShape

python/mod_cvcuda/operators/OpMinMaxLoc.cpp:227–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227TupleTensor3 MaxLocVarShape(ImageBatchVarShape &input, int maxLocs, std::optional<Stream> pstream)
228{
229 maxLocs = maxLocs == 0 ? GetDefaultMaxLocs(input.maxSize().w, input.maxSize().h) : maxLocs;
230
231 return MaxLoc(input, input.uniqueFormat().planeDataType(0), input.numImages(), maxLocs, pstream);
232}
233
234template<class InputContainer>
235TupleTensor6 MinMaxLoc(InputContainer &input, nvcv::DataType inDataType, int numSamples, int maxLocs,

Callers

nothing calls this directly

Calls 6

GetDefaultMaxLocsFunction · 0.85
MaxLocFunction · 0.85
maxSizeMethod · 0.45
planeDataTypeMethod · 0.45
uniqueFormatMethod · 0.45
numImagesMethod · 0.45

Tested by

no test coverage detected