(self, batch, loss, prediction)
Called to evaluate metrics for one batch
        Parameters:
            batch: A single minibatch. Instance of torchtext.data.Batch
            loss: Loss Tensor
            prediction: Model prediction
Called to evaluate metrics for one batch
        Parameters:
            batch: A single minibatch. Instance of torchtext.data.Batch
            loss: Loss Tensor
            prediction: Model prediction
Called to evaluate metrics for one batch Parameters : batch : A single minibatch . Instance of torchtext . data . Batch loss : Loss Tensor prediction : Model prediction
def evaluate(self, batch, loss, prediction):
        """
        Called to evaluate metrics for one batch
        Parameters:
            batch: A single minibatch. Instance of torchtext.data.Batch
            loss: Loss Tensor
            prediction: Model prediction
        """
        raise NotImplementedError('{} must implement evaluate()'.format(self.__class__.__name__))
def evaluate ( self , batch , loss , prediction ) : raise NotImplementedError ( '{} must implement evaluate()' . format ( self . __class__ . __name__ ) )