code: def test_logistic(backend_default):
      inputs = np.array([0, 1, -2]).reshape((3, 1))
      outputs = 1.0 / (1.0 + np.exp(-inputs))
      compare_tensors(Logistic(), inputs, outputs, tol=1e-7)
  
imports: from math import tanh
  import numpy
  from neon import NervanaObject
  from neon.transforms import Identity, Rectlin, Softmax, Tanh, Logistic, Sign, PixelwiseSoftmax
  from utils import allclose_with_out
label_desc: Use image node_id 23 for calling a global function with example usage: test_logistic(backend_default) without return types