bundles / scipy 1.18.0 / scipy / _external / array_api_extra / _lib / _funcs / one_hot
function
scipy._external.array_api_extra._lib._funcs:one_hot
Signature
def one_hot(x: Array, /, num_classes: int, *, xp: ModuleType) → ArraySummary
See docstring in array_api_extra._delegation.py.
Aliases
scipy.differentiate.xpx._delegation._funcs.one_hot