Pytorch的基本操作

如何查看pytorch的版本信息?

    在命令行进行python环境,然后输入代码:

    import torch

    print(torch.__version__)

    就可以打印出来这个pytorch的版本信息了。

    

发布了41 篇原创文章 · 获赞 9 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/u014723479/article/details/103664000