'Initialize Logistic based on whether shortcut is True or False. Shortcut
should be set to true when Logistic is used in conjunction with a CrossEntropy cost.
Doing so allows a shortcut calculation to be used during backpropagation.
Args:
shortcut (bool): If True, shortcut calculation will be used during backpropagation.'

def __init__(self, name=None, shortcut=False):

    super(Logistic, self).__init__(name=name)
    self.set_shortcut(shortcut)
