博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
深度学习库提供了什么?
阅读量:4068 次
发布时间:2019-05-25

本文共 1555 字,大约阅读时间需要 5 分钟。

通过使用多种深度学习库,可以发现,深度学习库普遍提供了以下功能来帮助我们更好的实现深度学习模型:

  • 矩阵运算
  • 性能优化以及使用GPU训练
  • 自动微分
  • 解决数值稳定问题
  • 符号式编程(Theano、Tensorflow)
    -定义计算流程;
    -把计算流程编译成可执行的程序;
    -给定输入,调用编译好的程序执行。

Theano

Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. ++Theano features++:

  • tight integration with NumPy – Use numpy.ndarray in Theano-compiled functions.
  • transparent use of a GPU– Perform data-intensive computations much faster than on a CPU.
  • efficient symbolic differentiation – Theano does your derivatives for functions with one or many inputs.
  • speed and stability optimizations – Get the right answer for log(1+x) even when x is really tiny.
  • dynamic C code generation – Evaluate expressions faster.
  • extensive unit-testing and self-verification – Detect and diagnose many types of errors.

What does it do that they don’t?

Theano is a Python library and optimizing compiler for manipulating and evaluating expressions, especially matrix-valued ones. Manipulation of matrices is typically done using the numpy package, so what does Theano do that Python and numpy do not?

  • execution speed optimizations: Theano can use g++ or nvcc to compile parts your expression graph into CPU or GPU instructions, which run much faster than pure Python.
  • symbolic differentiation: Theano can automatically build symbolic graphs for computing gradients.
  • stability optimizations: Theano can recognize [some] numerically unstable expressions and compute them with more stable algorithms.

占位

  • Tensorflow
  • keras
  • mxnet-gluon

转载地址:http://cnoji.baihongyu.com/

你可能感兴趣的文章
如何用好碎片化时间,让思维更有效率?
查看>>
No.182 - LeetCode1325 - C指针的魅力
查看>>
Encoding Schemes
查看>>
带WiringPi库的交叉笔译如何处理二之软链接概念
查看>>
Java8 HashMap集合解析
查看>>
自定义 select 下拉框 多选插件
查看>>
gdb 调试core dump
查看>>
gdb debug tips
查看>>
linux和windows内存布局验证
查看>>
本地服务方式搭建etcd集群
查看>>
安装k8s Master高可用集群
查看>>
忽略图片透明区域的事件(Flex)
查看>>
Xpath使用方法
查看>>
移动端自动化测试-Mac-IOS-Appium环境搭建
查看>>
Selenium之前世今生
查看>>
Selenium-WebDriverApi接口详解
查看>>
Selenium-ActionChains Api接口详解
查看>>
Selenium-Switch与SelectApi接口详解
查看>>
Selenium-Css Selector使用方法
查看>>
Linux常用统计命令之wc
查看>>