megengine.quantization.QConfig.index

QConfig.index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.