pytorch通过cuda指令允许让模型、数据加载到GPU上,常用指令如下:1. torch.cuda.is_available( cuda是否可用 import torch print(torch.cuda.is_ava...
重温一下tf的线性回归import tensorflow as tf import numpy as np import matplotlib.pyplot as ...