-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please run in eager mode or implement the compute_output_shape
method on your layer (DenseVariational).
#1505
Comments
Actually the
I think you checked these lines (densevariational.py): probability/tensorflow_probability/python/layers/dense_variational.py Lines 189 to 209 in 4045c2b
It should work if you define a class like:
and use it as a regular |
@Frightera Thankyou for your suggestion. I am going to give it a try. |
thanks again, @Frightera ! |
Dear TFP team,
I am trying to use DenseVariational Layer with TimeDistributed Layer of Keras. However, I get the following error.
I checked the DenseVariational layer and TimeDistributed layers both have 'compute_output_shape' function already implemented. Can anyone please give me some leads?
I am out of ideas what to do next. I don't get this error when I use DenseFlipOut layer.
Thanks in advance.
The text was updated successfully, but these errors were encountered: