tensorflow 2.0相比1.0诸多改变

一图看懂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实现模型的保存与部署

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值