摘要: import tensorflow as tf #设置参数w的随机初始值为5,设定为可训练(即vaiable形式?) w = tf.Variable(tf.constant(5, dtype=tf.float32)) #学习率 lr=0.2 #循环次数 epoch=40 for epoch in r 阅读全文
posted @ 2022-04-25 13:04 饭果果 阅读(51) 评论(0) 推荐(0)