I want to create VAE(variational autoencoder). During model creating it throws exception. When subclassing the Model class, you should implement a call method. I am using Tensorflow 2.0 Models with names I want to get model. Answer The problem is here: You are passing three arguments to the construction, where only two are needed (inputs and outputs). Models do not
Tag: tf.keras
How to tie weights between transposed layers?
I have try to tied weights in tensorflow 2.0 keras, with below code. but it shows this errors? does anyone know how to write tied weights dense layer ? Errors Answer It took much of my time to figure out, but I think this is the way of Tied Weights by subclassing Keras Dense layer. Hope it can help someone