News

In this example, we use the NumPy array’s .shape attribute to obtain its dimensions. We then use range() to iterate through the memoryview with those dimensions as a constraint.