{ } Raw JSON

bundles / scipy 1.17.1 / scipy / _lib / array_api_compat / common / _aliases / zeros

function

scipy._lib.array_api_compat.common._aliases:zeros

source: /scipy/_lib/array_api_compat/common/_aliases.py :148

Signature

def   zeros ( shape : int | tuple[int, ...] * dtype : DType | None = None device : Device | None = None ** kwargs : object )  →  Array

Summary

Array API compatibility wrapper for zeros.

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.zeros