When using tfp.layers.Convolution1DFlipout and tfp.layers.DenseFlipout in the same model calling apply_gradients() (using custom training loop and GradientTape()) raise error: TypeError: Can not convert a NoneType into a Tensor or Operation.
If there is just Convolution1DFlipout, it works.
If there is just tfp.layers.DenseFlipout, it works.
When using tfp.layers.Convolution1DFlipout and tfp.layers.DenseFlipout in the same model calling apply_gradients() (using custom training loop and GradientTape()) raise error: TypeError: Can not convert a NoneType into a Tensor or Operation.
If there is just Convolution1DFlipout, it works. If there is just tfp.layers.DenseFlipout, it works.
tensorflow-gpu 2.0.0 tensorflow-probability 0.8.0
Minimal script to reproduce error:
Error trace: