code: def project(x, c):
      """Projects points to the Poincare ball.
  
      Args:
        x: Tensor of size B x dimension.
        c: Tensor of size 1 representing the absolute hyperbolic curvature.
  
      Returns:
        Tensor of shape B x dimension where each row is a point that lies within
        the Poincare ball.
      """
      eps = BALL_EPS[x.dtype]
      return tf.clip_by_norm(
          t=x, clip_norm=(1.0 - eps) / tf.sqrt(c), axes=[1]
      )
  
file_path: neural-structured-learning/research/kg_hyp_emb/utils/hyperbolic.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
label_desc: Use image node_id 5 for calling a global function with example usage: project(x, c) and returns: tf