(self, x, inference=False)
return res
Forward propagates a minibatch x through the model.

        Arguments:
            x (Tensor): Input minibatch data.
            inference (bool): Flag for performing training or inference
                Only affects batch norm and dropout layers.

        Returns:
            Tensor: the output of the final layer in the model
Forward propagates a minibatch x through the model.
Forward propagates a minibatch x through the model .
def fprop(self, x, inference=False):
        """
        Forward propagates a minibatch x through the model.

        Arguments:
            x (Tensor): Input minibatch data.
            inference (bool): Flag for performing training or inference
                Only affects batch norm and dropout layers.

        Returns:
            Tensor: the output of the final layer in the model
        """
        res = self.layers.fprop(x, inference)
        self.be.convert_data(res, False)
        return res
def fprop ( self , x , inference = False ) : res = self . layers . fprop ( x , inference ) self . be . convert_data ( res , False ) return res