(self, batch, compute_predictions=False)
Called by train.Trainer to compute negative log likelihood
        Parameters:
            batch: A minibatch, instance of torchtext.data.Batch
            compute_predictions: If true compute and provide predictions, else None
        Returns:
            Tuple of loss and predictions
Called by train.Trainer to compute negative log likelihood
        Parameters:
            batch: A minibatch, instance of torchtext.data.Batch
            compute_predictions: If true compute and provide predictions, else None
        Returns:
            Tuple of loss and predictions
Called by train . Trainer to compute negative log likelihood Parameters : batch : A minibatch instance of torchtext . data . Batch compute_predictions : If true compute and provide predictions else None Returns : Tuple of loss and predictions
def loss(self, batch, compute_predictions=False):
        """
        Called by train.Trainer to compute negative log likelihood
        Parameters:
            batch: A minibatch, instance of torchtext.data.Batch
            compute_predictions: If true compute and provide predictions, else None
        Returns:
            Tuple of loss and predictions
        """
        raise NotImplementedError("Must implement loss()")
def loss ( self , batch , compute_predictions = False ) : raise NotImplementedError ( "Must implement loss()" )