About云-梭伦科技

标题: TensorFlow教程:6GPU和TensorFlow Serving介绍 [打印本页]

作者: fc013    时间: 2018-2-10 20:00
标题: TensorFlow教程:6GPU和TensorFlow Serving介绍


问题导读:


1.GPU编程模型的工作原理是什么?
2.如何安装和使用TensorFlow服务?
3.如何加载和导出TensorFlow模型?





上一篇:TensorFlow教程:5深度学习

在本章中,我们将介绍以下主题:
GPU programming
In Chapter 5 , Deep Learning, where we trained a recurrent neural network (RNN) for an NLP application, we could see that deep learning applications can be computationally intensive. 但是,通过graphic processing unit(GPU)使用并行编程技术,可以减少训练时间。 实际上,现代图形单元的计算资源使其能够执行并行代码部分,从而确保高性能。

GPU编程模型是一种编程策略,包括将CPU替换为GPU以加速执行各种应用程序。 这一战略的应用范围非常广泛,日益增长,目前,GPU可以减少跨平台的应用执行时间,从汽车到手机,从平板电脑到无人机和机器人。

下图显示了GPU编程模型的工作原理。 在应用程序中,有一些调用告诉CPU放弃代码GPU的特定部分,让它运行得到高执行速度。 这个特定部分依靠两个GPU的原因是GPU架构所提供的速度。 GPU has many Streaming Multiprocessors (SMPs), with each having many computational cores.These cores are capable of performing ALU and other operations with the help of Single Instruction Multiple Thread (SIMT) calls, which reduce the execution time drastically.

(, 下载次数: 3)