 Why is it so abrupt in the middle of the code?(empty = Array) demo_array.py in examps
Activity
kif commentedon Oct 20, 2022
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 ?
tangyu-ty commentedon Oct 20, 2022
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
tangyu-ty commentedon Oct 20, 2022