Hello, I found that in the definition of fit, assignments/assignment3/mp3/codefromtf/logistic_model.py, tf.matmul will be repeatedly added to the graph, resulting in a decrease in the running rate of the program. Therefore, I think node A should be created before the loop to reduce unnecessary overhead.
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.
Hello, I found that in the definition of
fit
, assignments/assignment3/mp3/codefromtf/logistic_model.py, tf.matmul will be repeatedly added to the graph, resulting in a decrease in the running rate of the program. Therefore, I think node A should be created before the loop to reduce unnecessary overhead.Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.