def call(self, inputs):
    """Call `Layer`."""
    # if context.executing_eagerly():
    #   if not self.initialized:
    #     self._data_dep_init(inputs)
    self._compute_weights()  # Recompute weights for each forward pass

    output = self.layer.call(inputs)
    return output
def call ( self , inputs ) : self . _compute_weights ( ) output = self . layer . call ( inputs ) return output
Call `Layer`.