学习 tensor.repeat() 这个函数的功能的时候,最好还是要观察所得到的结果的维度。 不多说,看代码: >>> import torch >>> >>> # 定义一个33x55 张量 >>> a ...
確定! 回上一頁