code: def logistic_predictions(weights, inputs):
      # Outputs probability of a label being true according to logistic model.
      return sigmoid(np.dot(inputs, weights))
  
file_path: autograd/examples/logistic_regression.py
imports: from __future__ import absolute_import
  from __future__ import print_function
  from builtins import range
  import autograd.numpy
  from autograd import grad
  from autograd.test_util import check_grads
label_desc: Use image node_id 2 for calling a global function with example usage: logistic_predictions(weights, inputs) and returns: sigmoid