.Tang

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年6月4日

摘要: 调用该API可以不通过 tensorflow.Session.run()调用 定义的张量constant tensor,可以直接print 阅读全文
posted @ 2018-06-04 11:04 .Tang 阅读(181) 评论(0) 推荐(0) 编辑

摘要: # -*- coding: utf-8 -*-import tensorflow as tf# 基本的常量操作,通过构造函数返回值 定义值的操作operationsa = tf.constant(2)b = tf.constant(3)# 启动默认 图形实例sess#支持运算with tf.Sess 阅读全文
posted @ 2018-06-04 11:00 .Tang 阅读(1805) 评论(0) 推荐(0) 编辑