(self, inputs, inference=False)
Apply the forward pass transformation to the input data.

        Arguments:
            inputs (Tensor): input data

        Returns:
            Tensor: output data
Apply the forward pass transformation to the input data.
Apply the forward pass transformation to the input data .
def fprop(self, inputs, inference=False):
        """
        Apply the forward pass transformation to the input data.

        Arguments:
            inputs (Tensor): input data

        Returns:
            Tensor: output data
        """
        x = self.layers[0].fprop(inputs, inference)
        if inference:
            return x
        else:
            out = [x] + [l.fprop(None) for l in self.layers[1:]]
            return out
def fprop ( self , inputs , inference = False ) : x = self . layers [ 0 ] . fprop ( inputs , inference ) if inference : return x else : out = [ x ] + [ l . fprop ( None ) for l in self . layers [ 1 : ] ] return out