Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Otherwise, line 173 returns ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[9], line 1 ----> 1 u = flow.units.convert_velocity_to_pu(lattice.u(simulation.f)).numpy() 2 u_norm = np.linalg.norm(u,axis=0) 3 plt.imshow(u_norm) TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first. ```
- Loading branch information