flopscope.numpy.ndarray
flopscope.numpy.ndarray(shape, dtype=<class 'float'>, buffer=None, offset=0, strides=None, order=None)[flopscope source]
A numpy ndarray subclass with FLOP-tracked operators.
Behaves exactly like flops.ndarray except that arithmetic and related operators route through flopscope's counted fnp.* functions so the active BudgetContext sees them.