| 216 | } |
| 217 | |
| 218 | TupleTensor3 MaxLocTensor(Tensor &input, int maxLocs, std::optional<Stream> pstream) |
| 219 | { |
| 220 | auto inAccess = nvcv::TensorDataAccessStridedImagePlanar::Create(input.exportData()); |
| 221 | |
| 222 | maxLocs = maxLocs == 0 ? GetDefaultMaxLocs(inAccess->numCols(), inAccess->numRows()) : maxLocs; |
| 223 | |
| 224 | return MaxLoc(input, input.dtype(), inAccess->numSamples(), maxLocs, pstream); |
| 225 | } |
| 226 | |
| 227 | TupleTensor3 MaxLocVarShape(ImageBatchVarShape &input, int maxLocs, std::optional<Stream> pstream) |
| 228 | { |
nothing calls this directly
no test coverage detected