解決 AttributeError: RefVariable object has no attribute _id(tf 版本低)

運行backpropagation.py,尋找 最小loss的代碼 ```python import tensorflow as tf w = tf.Variable(tf.constant(5, dtype=tf.float32)) lr = 0.2 epoch = 40 for epoch in range(epoch):  # for epoch 定義頂層循環,表示對數據集循環epoch次,
相關文章
相關標籤/搜索