How can you calculate tensorflow gradients for subsequent steps?

前端 未结 0 1168
失恋的感觉
失恋的感觉 2021-02-10 03:20

Specifically, when using the code:

with tf.GradientTape() as tape:
        out = model(x, training=True)
        loss = tf.keras.losses.categorical_crossentropy(y         


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