Usually what I do is using the numpy() method to transform the tensor into a numpy object, e.g., print(my_variable.data.cpu().numpy()).
確定! 回上一頁