摘要: 一、Linear regression Establish a regression model based on the data,y=w1x1+w2x2+...+b,through the establishment of error between the real value and the 阅读全文
posted @ 2020-06-10 23:00 小他_W 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 一、变量 为了训练模型,需要能够修改图以调节一些对象,比如权重值、偏置量。简单来说,变 量让你能够给图添加可训练的参数,它们在创建时候就带有类型属性和初始值。 二、实例 import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorf 阅读全文
posted @ 2020-06-10 20:21 小他_W 阅读(127) 评论(0) 推荐(0) 编辑