def __call__(self, outputs):
        '''Construct the computation graph for this loss function.

        Parameters
        ----------
        outputs : dict of Theano expressions
            A dictionary mapping network output names to Theano expressions
            representing the outputs of a computation graph.

        Returns
        -------
        loss : Theano expression
            The values of the loss given the network output.
        '''
        err = outputs[self.output_name] - self._target
        if self._weights is not None:
            return self._weights.sum() / abs(self._weights * err).sum()
        return abs(err).mean()
dataset/ETHPy150Open lmjohns3/theanets/theanets/losses.py/MeanAbsoluteError.__call__/swapped operands of `/`