pyTorch lesson_1

pyTorch的tensor 和numpy,各自实现两层简单的网络,迭代500次的速度上的比较 参考# https://pytorch.org/tutorials/beginner/pytorch_with_examples.html   numpy:结果,代码看官网链接   torch的tensor,且手动写前向传播,反向传播,结果   torch的tensor,可以使用定义自动微分,如下: w
相关文章
相关标签/搜索