先看看簡單例子: import torch import torch.autograd as autograd import ... pairs = prepareData('eng','fra',True) print(random.choice(pairs)) ...
確定! 回上一頁