code: def layer_summaries(layer, collection_key):
      layer_name = layer.module_name
      if hasattr(layer, "_w"):
          variable_summaries(
              layer._w, "{}/W".format(layer_name), collection_key
          )
  
      if hasattr(layer, "_b"):
          variable_summaries(
              layer._b, "{}/b".format(layer_name), collection_key
          )
  
imports: import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: layer_summaries(layer, collection_key) without return types