TFE: Improves the interfaces of tape.watch_variable() and implicit_grad().
tape.watch_variable() replaces tape.watch() and now is called on ResourceVariable objects instead of their underlying handles. implicit_grad() now returns a list of (gradient, variable) pairs to be consistent with tf.Optimizer's interface. PiperOrigin-RevId: 168232055
Loading
Please sign in to comment