code: def get_losses(self, identifier="default"):
      with self._tf_graph.as_default():
          return tf.get_collection(
              "openrec.tf1.recommender.losses." + identifier
          )
  
imports: import tensorflow
  import numpy
  import os
label_desc: Use image node_id 12 for calling the _RecommenderGraph obj's underlying member method code with example usage: obj.get_losses(identifier) and returns: tf