bundles / scipy 1.17.1 / scipy / _lib / array_api_compat / common / _aliases / ones_like
function
scipy._lib.array_api_compat.common._aliases:ones_like
source: /scipy/_lib/array_api_compat/common/_aliases.py :135
Signature
def ones_like ( x : Array , / , dtype : DType | None = None , device : Device | None = None , ** kwargs : object ) → Array Summary
Array API compatibility wrapper for ones_like.
Extended Summary
See the corresponding documentation in NumPy/CuPy and/or the array API specification for more details.
Aliases
-
scipy.signal._filter_design.np_compat.ones_like