Support SymbolicGradient for functions with non-trainable arguments.
The non-trainable arguments end up with None as their incoming out_grad, which is not a valid input to SymbolicGradient (inputs have to be convertible to Tensor, and None isn't). PiperOrigin-RevId: 173901727
Loading
Please sign in to comment