| 252 | } |
| 253 | |
| 254 | TupleTensor6 MinMaxLocTensor(Tensor &input, int maxLocs, std::optional<Stream> pstream) |
| 255 | { |
| 256 | auto inAccess = nvcv::TensorDataAccessStridedImagePlanar::Create(input.exportData()); |
| 257 | |
| 258 | maxLocs = maxLocs == 0 ? GetDefaultMaxLocs(inAccess->numCols(), inAccess->numRows()) : maxLocs; |
| 259 | |
| 260 | return MinMaxLoc(input, input.dtype(), inAccess->numSamples(), maxLocs, pstream); |
| 261 | } |
| 262 | |
| 263 | TupleTensor6 MinMaxLocVarShape(ImageBatchVarShape &input, int maxLocs, std::optional<Stream> pstream) |
| 264 | { |
nothing calls this directly
no test coverage detected