这是我在Sub Test()
Application.ScreenUpdating = False
Dim t As Variant: t = Timer
Dim rng As Range, r As Range
Set rng = Sheet1.Range("A1:A10000")
For Each r In rng
r.VerticalAlignment = xlCenter
Next
Debug.Print Timer - t
Application.ScreenUpdating = True
End Sub
中编写的代码。当我尝试使用tensorboard绘图时,我看到两个图形,即main和auxilary,但它们似乎与我的代码不对应:
python3.6
我在anaconda(Windows)提示符下运行代码:
import tensorflow as tf
a = tf.constant(1.0)
b = tf.constant(2.0)
c=a*b
sess=tf.Session()
writer=tf.summary.FileWriter("E:/python_prog",sess.graph)
print(sess.run(c))
writer.close()
sess.close().