Gradient tensorflow return None

前端 未结 0 1966
旧时难觅i
旧时难觅i 2021-01-15 05:50

I have to compute gradient two time for implementing an optimizer, but the second gradient (g_n) returns None

for i in range(1):

with tf.GradientTape(persist         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题