1. 首页
  2. 数据库
  3. 其它
  4. tensorflow1.0 api

tensorflow1.0 api

上传者: 2021-01-10 13:49:12上传 PDF文件 37.2KB 热度 10次
a = tf.constant(36, name) b = tf.constant(10, name) c = tf.multiply(a,b) with tf.Session() as session: print(session.run(c)) a, b = #创建Tensorflow变量(此时,尚未直接计算) c = #实现Tensorflow变量之间的操作定义 tf.global_variables_initializer() #初始化Tensorflow变量 with tf.Session() as session:#创建Session
下载地址
用户评论