code: def apply_activation(x, name=None, activation_fn=None):
      return activation_fn(x, name=name) if activation_fn else x
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import contextlib
  import copy
  import os
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: apply_activation(x, name, activation_fn) and returns: unknown