一图看懂TensorFlow2.0系列(一) TensorFlow1.0和TensorFlow2.0究竟有什么区别?
<div id="article_content" class="article_content clearfix">
<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-211130ba7a.css">
<div id="content_views" class="markdown_views prism-atom-one-dark">
<!-- flowchart 箭头图标 勿删 -->
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
</svg>
<p>最近集中精力把B站的课程:Google工程师亲授TensorFlow2.0给听完了,是一个大佬讲的课,大佬叫什么正十七来着,我强烈建议大家听一听,可以说是思路清晰,准备充足,代码强悍,深入浅出。。总之希望这种大佬能够多一点分享,非常认可老师的实力!好了,吹水到此为止。<br>
在听老师讲课的过程中呢,我又随手把老师讲课的核心知识点和代码敲到了思维导图里面,因为以前每次上完课听了就感觉轻飘飘的,浮于表面,所以上课做笔记真的是很重要啊~~一定要自己消化的知识才是自己的!
在听课的时候,我越发感觉,这个TensorFlow2.0 和pytorch怎么如此的相似。。。TensorFlow2.0,没有了session,没有了tf.placeholder() ,总之,按照pytorch的思路去写就对了哈哈哈。
比如,下面是tf1.0的代码,大家体会一下:
而下面:是tf2.0的代码:
这个系列我会按照课程的进度发布对应的思维导图,给有需要的伙伴们!
话不多说,开始!
一图看懂TensorFlow2.0系列(二) tf2.0的重要角色:tfkeras简介
一图看懂TensorFlow2.0系列(三) TensorFlow2.0都有哪些基础API?
一图看懂TensorFlow2.0系列(四)TensorFlow2.0里面的tf.data和dataset怎么用你真的会了吗?
一图看懂TensorFlow2.0系列(五) TensorFlow1.0代码如何升级到TensorFlow2.0?
一图看懂TensorFlow2.0系列(六) TensorFlow的estimator怎么用,看了这篇彻底搞懂
一图看懂TensorFlow2.0系列(七)TensorFlow2.0实现卷积神经网络?keras帮你搞定!
一图看懂TensorFlow2.0系列(八) TensorFlow2.0实现循环神经网络
一图看懂TensorFlow2.0系列(九) 教你怎么用TensorFlow2.0实现模型的保存与部署