詳細なエラー メッセージは次のとおりです。
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat1 in method wrapper_mm)
エラーが報告される場所: ネットワークの転送関数 (linear.py/forward)