I get the following error when I call flip_layer = Flip(X). I changed self.trainable_weights to self._trainable_weights in build but that does not solve the problem.
AttributeError: Can't set the attribute "trainable_weights", likely because it conflicts with an existing read-only @property of the object. Please choose a different name.
I get the following error when I call flip_layer = Flip(X). I changed self.trainable_weights to self._trainable_weights in build but that does not solve the problem.
AttributeError: Can't set the attribute "trainable_weights", likely because it conflicts with an existing read-only @property of the object. Please choose a different name.