DL常用工具基本介绍

NumPy

NumPy是用Python进行科学计算的基本软件包。 它包含以下内容:
一个强大的N维数组对象
复杂的(广播)功能
用于集成C / C ++和Fortran代码的工具
有用的线性代数,傅里叶变换和随机数能力
除了明显的科学用途外,NumPy还可以用作通用数据的高效多维容器。 任意的数据类型可以被定义。 这使得NumPy能够与各种各样的数据库无缝,快速地整合。

NumPy是根据BSD许可证进行许可的,只需很少的限制即可重复使用。

Getting Started

For more information on the SciPy Stack (for which NumPy provides the fundamental array data structure), see scipy.org.

Pytorch

PyTorch是一个python包,提供了两个高级功能:张量计算(如numpy)与强大的GPU加速深度神经网络建立在一个基于磁带的autograd系统上你可以重用你最喜欢的python软件包,比如numpy,scipy和Cython,以便在需要时扩展PyTorch。在粒度级别上,PyTorch是一个由以下组件组成的库:

Package Description
torcha Tensor library like NumPy, with strong GPU support
torch.autograd a tape based automatic differentiation library that supports all differentiable Tensor operations in torch
torch.nna neural networks library deeply integrated with autograd designed for maximum flexibility
torch.optim an optimization package to be used with torch.nn with standard optimization methods such as SGD, RMSProp, LBFGS, Adam etc.
torch.multiprocessingpython multiprocessing, but with magical memory sharing of torch Tensors across processes. Useful for data loading and hogwild training.
torch.utils DataLoader, Trainer and other utility functions for convenience
torch.legacy(.nn/.optim)legacy code that has been ported over from torch for backward compatibility reasons
通常使用PyTorch作为:

numpy替代使用GPU的力量;
一个深度学习研究平台,提供最大的灵活性和速度。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值