MCPcopy Create free account
hub / github.com/numpy/numpy / size

Method size

numpy/array_api/_array_object.py:1113–1119  ·  view source on GitHub ↗

Array API compatible wrapper for :py:meth:`np.ndarray.size `. See its docstring for more information.

(self)

Source from the content-addressed store, hash-verified

1111
1112 @property
1113 def size(self) -> int:
1114 """
1115 Array API compatible wrapper for :py:meth:`np.ndarray.size <numpy.ndarray.size>`.
1116
1117 See its docstring for more information.
1118 """
1119 return self._array.size
1120
1121 @property
1122 def T(self) -> Array:

Callers 8

_get_partition_funcFunction · 0.80
_get_argpartition_funcFunction · 0.80
_get_binsearch_funcFunction · 0.80
test_sizeMethod · 0.80
mainFunction · 0.80
fromnumeric.pyFile · 0.80
sizeFunction · 0.80
__new__Method · 0.80

Calls

no outgoing calls

Tested by 2

test_sizeMethod · 0.64
mainFunction · 0.64