Closed tangyu-ty closed 1 year ago
I guess it is just a way to declare empty (which is a factory to generate an empty array) with the same API as the constructor of the class ?
sorry, it's in pyopencl/array.py
I just wonder why it is placed in the middle of some methods of this module instead of the beginning or the end。'Array' is a class。
class Array is between 338 to 2294. (Number of rows) Next are some methods or class of array.py
I guess it is just a way to declare empty (which is a factory to generate an empty array) with the same API as the constructor of the class ?
demo_array.py in examps