![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
深度学习与神经网络
个人学习笔记
喵了个汪q
这个作者很懒,什么都没留下…
展开
-
Dive-into-DL-TensorFlow2.0(Tensorflow基本操作)
1.创建张量 TensorFlow 的张量在概念上等同于多维数组,我们可以使用它来描述数学中的标量(0 维数组)、向量(1 维数组)、矩阵(2 维数组)等各种量,示例如下: 首先导入tensorflow import tensorflow as tf print(tf.__version__) 输出 2.3.0 定义一个随机数(标量) random_float = tf.random.uniform(shape=()) random_float <tf.Tensor: shape=(), dty原创 2020-08-22 19:38:08 · 560 阅读 · 0 评论 -
Dive-into-DL-TensorFlow2.0(TensorFlow 安装与环境配置)
安装步骤 安装 Python 环境,建议安装 Anaconda3 装好后进入Anaconda的终端如下图 接着使用 Anaconda 自带的 conda 包管理器建立一个 Conda 虚拟环境,并进入该虚拟环境。在命令行下输入: conda create --name tf2 python=3.7 # “tf2”是你建立的conda虚拟环境的名字 conda activate tf2 # 进入名为“tf2”的conda虚拟环境 使用 Python原创 2020-08-22 13:06:18 · 300 阅读 · 0 评论