(self, X, y=None)
return self
Update the input shape based on the number of samples in X.
        Return this Reshaper object.
Update the input shape based on the number of samples in X.
        Return this Reshaper object.
Update the input shape based on the number of samples in X . Return this Reshaper object .
def fit(self, X, y=None):
        """
        Update the input shape based on the number of samples in X.
        Return this Reshaper object.
        """

        # Create the input_shape property as a list
        self.input_shape = list(self.first_layer_kwargs['input_shape'])

        # Debug information is printed to the terminal and logs if required
        if self.logfile:
            self._print_log(1)

        return self
def fit ( self , X , y = None ) : # Create the input_shape property as a list self . input_shape = list ( self . first_layer_kwargs [ 'input_shape' ] ) # Debug information is printed to the terminal and logs if required if self . logfile : self . _print_log ( 1 ) return self