index(before:)
Returns the index immediately before an element index.
Declaration
func index(before i: Int) -> IntParameters
- i:
A valid index to an element in the classification distribution.
Returns the index immediately before an element index.
func index(before i: Int) -> IntA valid index to an element in the classification distribution.