TensorFlow是一个开源软件库,用于各种感知和语言理解任务的机器学习。[3]目前被50个团队[3]:min 0:15/2:17用于研究和生产许多Google商业产品[4]:p.2,如语音识别、Gmail、Google 相册和搜索[3]:0:26/2:17,其中许多产品曾使用过其前任软件DistBelief。
TensorFlow最初由Google Brain团队开发,用于Google的研究和生产,于2015年11月9日在Apache 2.0开源许可证下发布。
历史
DistBelief[
从2010年开始,Google Brain建立DistBelief作为他们的第一代专有的机器学习系统。50多个团队在Google和其他Alphabet公司在商业产品部署了DistBelief的深度学习神经网络,包括Google搜索、Google语音搜索、广告、Google 相册、Google地图、Google街景、Google翻译和YouTube。[4][6]Google指派计算机科学家,如Geoffrey Hinton和Jeff Dean,简化和重构DistBelief的代码库,使其变成一个更快、更健壮的应用级别代码库,形成了TensorFlow。[7]2009年,Hinton领导的研究小组大大减少使用DistBelief的神经网络的错误数量,通过Hinton在广义反向传播的科学突破。最值得注意的是,Hinton的突破直接使Google语音识别软件中的错误减少至少25%。[8]
TensorFlow
TensorFlow是Google Brain的第二代机器学习系统。1.0.0版本发布于2017年2月11日。虽然参考实现运行在单台设备,TensorFlow可以运行在多个CPU和GPU(和可选的CUDA扩展和图形处理器通用计算的SYCL扩展)。[9]TensorFlow可用于64位Linux、macOS和Windows,以及移动计算平台,包括Android和iOS。
TensorFlow的计算使用有状态的数据流图表示。TensorFlow的名字来源于这类神经网络对多维数组执行的操作。这些多维数组被称为张量。2016年6月,Jeff Dean称在GitHub有1500个库提到了TensorFlow,其中只有5个来自Google。[10]
张量处理单元(TPU)
2016年5月,Google宣布了张量处理单元(TPU),一个专为机器学习和TensorFlow定制的ASIC。TPU是一个可编程的AI加速器,提供高吞吐量的低精度计算(如8位),面向使用或运行模型而不是训练模型。Google宣布他们已经在数据中心中运行TPU长达一年多,发现它们对机器学习提供一个数量级更优的每瓦特性能。[11]
2017年5月Google宣布第二代张量处理单元,并在Google Compute Engine中可用。[12]第二代TPU提供最高180 teraflops性能,组装成64个TPU的集群时提供最高11.5 petaflops性能。
TensorFlow Lite
2017年5月Google宣布从Android Oreo开始,提供一个专用于Android开发的软件栈TensorFlow Lite[13]。
应用
Google于2015年10月26日正式发布了RankBrain,由TensorFlow支持。
特性
TensorFlow提供了一个Python API,以及C++、Haskell、Java、Go和Rust API。第三方包可用于 C#、Julia、R和Scala。
例子
import tensorflow as tf
hw = tf.constant("Hello World")
with tf.Session() as sess:
sess.run(hw)
应用
广泛的应用程序使用TensorFlow作为基础,其中它已成功实现自动化图像字幕软件,例如DeepDream。[14]2015年10月26日,Google正式启用了由TensorFlow提供支持的RankBrain。RankBrain现在处理大量的搜索查询,替换和补充传统的静态算法搜索结果。[15]
参阅
引用
- ^ 1.01.1 Credits. [10 November 2015].
- ^ TensorFlow Release. [2018-01-14] (美国英语).
- ^ 3.03.1 3.2 "TensorFlow: Open source machine learning""It is machine learning software being used for various kinds of perceptual and language understanding tasks" — Jeffrey Dean, minute 0:47 / 2:17 from Youtube clip
- ^ 4.04.1 TensorFlow: Large-scale machine learning on heterogeneous systems (PDF). Google Research. November 9, 2015 [10 November 2015].
- ^ Google Just Open Sourced TensorFlow, Its Artificial Intelligence Engine. November 9, 2015 [10 November2015].
- ^ Google Open-Sources The Machine Learning Tech Behind Google Photos Search, Smart Reply And More. November 9, 2015 [11 November 2015].
- ^ What Is TensorFlow, and Why Is Google So Excited About It?. November 11, 2015 [11 November 2015].
- ^ Google chairman: We’re making 'real progress' on artificial intelligence. November 25, 2015 [25 November 2015].
- ^ Metz, Cade. TensorFlow, Google's Open Source AI , Points to a Fast-Changing Hardware World. November 10, 2015 [11 November 2015].
- ^ Machine Learning: Google I/O 2016 Minute 07:30/44:44accessdate=2016-06-05
- ^ Google supercharges machine learning tasks with TPU custom chip. [19 May 2016].
- ^ Build and train machine learning models on our new Google Cloud TPUs. Google. May 17, 2017 [May 18, 2017](英语).
- ^ Google’s new machine learning framework is going to put more AI on your phone
- ^ Google Offers Up Its Entire Machine Learning Library as Open-Source Software. November 11, 2015 [11 November2015].
- ^ Google releases TensorFlow – Search giant makes its artificial intelligence software available to the public. November 25, 2015 [25 November 2015].
外部链接
|