'Args:
y (Tensor or OpTree): Output of previous layer or model
t (Tensor or OpTree): True targets corresponding to y
Returns:
numpy array : Returns the log loss  metric in numpy array,
[LogLoss]'

def __call__(self, y, t, *args, **kwargs):

    return self.metric(y[self.index], y[self.index], *args, **kwargs)
