Skip to content
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

Unable to use heteroscedastic layers in tf.keras #538

Open
keertika-11 opened this issue Aug 5, 2022 · 0 comments
Open

Unable to use heteroscedastic layers in tf.keras #538

keertika-11 opened this issue Aug 5, 2022 · 0 comments

Comments

@keertika-11
Copy link

TypeError: Dimension value must be integer or None or have an __index__ method, got value '<attribute 'shape' of 'numpy.generic' objects>' with type '<class 'getset_descriptor'>'

hidden_layer = tf.keras.layers.Dense(16)
inputs = tf.keras.Input((224,224,3))
out = hidden_layer(inputs)
output_layer = ed.layers.MCSoftmaxDense(num_classes=2)
output_layer(out)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant