1. 新建一个2x2大小的张量,一行理解成一个样本经过前面网络计算后的输出(1x2),则batch_size是2。 import numpy as np. import torch. import torch.nn ...
確定! 回上一頁