tensorflow 笔记

op

  1. Nodes in the graph are called ops (short for operations).
    An op takes zero or more Tensors, performs some computation, and produces zero or more Tensors.
    类比:一个神经元有多个输入,一个或者多个输出。这里的OP可以看作神经元,tensor可以看作输入的数据。
  2. In TensorFlow terminology, a Tensor is a typed multi-dimensional array.
    For example, you can represent a mini-batch of images as a 4-D array of floating point numbers with dimensions [batch, height, width,channels].
    tensor是一个数组,每个数组元素是多维的,其实就是一个矩阵。
  3. 转载

context理解

  1. 每一段程序都有很多外部变量。只有像Add这种简单的函数才是没有外部变量的。一旦你的一段程序有了外部变量,这段程序就不完整,不能独立运行。你为了使他们运行,就要给所有的外部变量一个一个写一些值进去。这些值的集合就叫上下文。
  2. 譬如说在C++的lambda表达是里面,[写在这里的就是上下文](int a, int b){ … }。

windows打开tensorboard

conda activate tensorflow
D:
cd D:\code\tensorflow\VGG-cifar10-master\logs
tensorboard --logdir vgg16_logs --host=127.0.0.1

tf.name_scope

tensorflow中的“tf.name_scope()”有什么用?
tensorflow里面name_scope, variable_scope等如何理解?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值