Pytorch | 基于Pytorch的生成对抗网络

1. pytorch和神经网络

1.1 pytorch张量

python中使用普通变量存储数字,比如:

a=20
b=30
c=a+b

pytorch中使用张量存储数字(需要导入torch),比如:

 

猜你喜欢

转载自blog.csdn.net/PoGeN1/article/details/131294520
今日推荐