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