Closed xiexuliunian closed 4 years ago
线性回归的从零开始实现一节
param.assign_sub(lr * tf.gradient(l, param) / batch_size)
代码报module 'tensorflow' has no attribute 'gradient'错误,改tf.gradient为t.gradient正常
已修复
线性回归的从零开始实现一节
代码报module 'tensorflow' has no attribute 'gradient'错误,改tf.gradient为t.gradient正常