Haoyuan Wang

Results 4 comments of Haoyuan Wang

哇这个代码看得我心潮澎湃 感觉我的中二之魂在熊熊燃烧

It's a good way to init tensor by: ```python tensor = torch.FloatTensor(...).type_as(input) ``` or ```python tensor = torch.FloatTensor(...).to(input.device) ``` which guarantees all tensors are on the same device.

> > I had this error after upgrading nuxt3 to RC 13. I manually updated @nuxt/tailwindcss from 6.1.1 to 6.1.3 and it fixed it. > > This is the exact...