摘要:
一、回归算法 import tensorflow as tf import numpy as np # 1. 数据集,变量,占位符 # # 样本,输入列表,正太分布(Normal Destribution),均值为1, 均方误差为0.1, 数据量为100个 x_vals = np.random.no 阅读全文
posted @ 2019-11-26 16:29
yuanyuanWu11
阅读(322)
评论(0)
推荐(0)
摘要:
问题分析:在tf2下使用了tf1的API 解决方法: 1 import tensorflow.compat.v1 as tf 2 tf.disable_v2_behavior() 替换掉原本的 1 import tensorflow as tf 阅读全文
posted @ 2019-11-26 15:49
yuanyuanWu11
阅读(18159)
评论(0)
推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-11-26 15:00
yuanyuanWu11
阅读(2)
评论(0)
推荐(0)
浙公网安备 33010602011771号