class_docstr: Logistic sigmoid activation function, :math:`f(x) = 1 / (1 + \exp(-x))`
  
  Squashes the input from range :math:`[-\infty,+\infty]` to :math:`[0, 1]`
docstr: 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.
docstr_tok: ["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","."]
code: def __init__(self, name=None, shortcut=False):
      """
      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.
  
      """
      super(Logistic, self).__init__(name=name)
  
      self.set_shortcut(shortcut)
  
imports: from __future__ import division
  from neon.transforms.transform import Transform
label_desc: Use image node_id 1 to create a new Logistic object from inherited base classes: Transform with example: obj = Logistic(name, shortcut)