Shortcuts

mmcv.arraymiscΒΆ

quantize

Quantize an array of (-inf, inf) to [0, levels-1].

dequantize

Dequantize an array.