W3cubDocs

/NumPy 2.4

numpy.getbufsize

numpy.getbufsize()[source]

Return the size of the buffer used in ufuncs.

Returns:
getbufsizeint

Size of ufunc buffer in bytes.

Notes

Concurrency note: see Floating point error handling

Examples

>>> import numpy as np
>>> np.getbufsize()
8192

© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.getbufsize.html