code: def _get_sigmoid_signal(layer_labels):
      """A function using the sigmoid layer fraction as the signal."""
      internal_layers = [
          ll for ll in layer_labels if ll not in ["ip", "op", "linear"]
      ]
      good_layers = [
          ll in ["logistic", "relu"] for ll in internal_layers
      ]
      return sum(good_layers) / float(len(internal_layers) + 1)
  
file_path: dragonfly/dragonfly/nn/syn_nn_functions.py
imports: import numpy
label_desc: Use image node_id 10 for calling a global function with example usage: _get_sigmoid_signal(layer_labels) and returns: unknown