Same here, everything that happens during run time has to come from the Python import. `dtype` could be `int` or `np.int64`, but not `cnp.int64`.
Hope this clears things up!