code: def logit_bernoulli_entropy(logits):
      ent = (1.0 - tf.nn.sigmoid(logits)) * logits - logsigmoid(logits)
      return ent
  
file_path: baselines/baselines/gail/adversary.py
imports: import tensorflow
  import numpy
  from baselines.common.mpi_running_mean_std import RunningMeanStd
  from baselines.common import tf_util
label_desc: Use image node_id 2 for calling a global function with example usage: logit_bernoulli_entropy(logits) and returns: ent