摘要: 该参数表示是否监视可训练变量,若为False,则无法监视该变量,则输出也为None 手动添加监视 import tensorflow as tf ############################### tf.GradientTape(persistent,watch_accessed_var 阅读全文
posted @ 2020-07-29 21:22 山…隹 阅读(1034) 评论(0) 推荐(0)
摘要: import tensorflow as tf import numpy as np ############### tf.Variable(initial value,dtype) ############### print('############数字为参数###########') a = 阅读全文
posted @ 2020-07-29 17:29 山…隹 阅读(1358) 评论(0) 推荐(0)