TensorFlow框架 入门笔记

9次阅读

共计 226 个字符,预计需要花费 1 分钟才能阅读完成。

背景

基础

介绍 略
TensorFlow 安装 link

TensorFlow 主要概念

使用图 (graph) 来表示计算任务(执行流程).
在被称之为会话 (session) 的上下文 (context) 中执行图.

使用 tensor 表示数据结构, 如下是特殊的 tensor

tf.Variable
tf.constant
tf.placeholder
tf.SparseTensor

使用 feed 和 fetch 可以为任意的操作(arbitrary operation) 赋值或者从其中获取数据.

正文完
 0