ott.problems.nn.dataset.Dataset.index#

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

Return first index of value.

Raises ValueError if the value is not present.