PyTorch基础解惑

PyTorch基础解惑

  1. 为什么是output = net(input)而不是output=net.forward(input)
    https://zhuanlan.zhihu.com/p/35978792
    https://blog.csdn.net/Yaokai_AssultMaster/article/details/70256621
    https://blog.csdn.net/u012436149/article/details/69230136

  2. PyTorch的动态图有什么用处?
    https://morvanzhou.github.io/tutorials/machine-learning/torch/5-01-dynamic/
    https://blog.csdn.net/qjk19940101/article/details/79557866

  3. PyTorch设置固定随机数 torch.manual_seed()
    https://blog.csdn.net/qq_34690929/article/details/79923602

  4. torch.nn.CrossEntropyLoss
    https://www.cnblogs.com/lindaxin/p/7998105.html

  5. What does the .fc.in_feature mean?
    https://discuss.pytorch.org/t/what-does-the-fc-in-feature-mean/4889

  6. 使用PyTorch进行训练和测试时一定注意要把实例化的model指定train/eval
    https://blog.csdn.net/jinxin521125/article/details/78435899

  7. 新手如何入门pytorch?
    https://www.zhihu.com/question/55720139

posted @ 2022-06-27 20:02  xiaoxuxli  阅读(3)  评论(0编辑  收藏  举报