code: def entropy(p):
      q = 1.0 - p
      return -p * np.log(p) - q * np.log(q)
  
file_path: pytorch/caffe2/python/operator_test/jsd_ops_test.py
imports: from caffe2.python import core
  import caffe2.python.hypothesis_test_util
  import caffe2.python.serialized_test.serialized_test_util
  import hypothesis.strategies
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: entropy(p) and returns: unknown