code: def project(
      point_3d: type_alias.TensorLike,
      name: str = "orthographic_project",
  ) -> tf.Tensor:
      r"""Projects a 3d point onto the 2d camera plane.
  
      Projects a 3d point \\((x, y, z)\\) to a 2d point \\((x', y')\\) onto the
      image plane, with
  
      $$
      \begin{matrix}
      x' = x, & y' = y.
      \end{matrix}
      $$
  
      Note:
        In the following, A1 to An are optional batch dimensions.
  
      Args:
        point_3d: A tensor of shape `[A1, ..., An, 3]`, where the last dimension
          represents a 3d point to project.
        name: A name for this op that defaults to "orthographic_project".
  
      Returns:
        A tensor of shape `[A1, ..., An, 2]`, where the last dimension represents
        a 2d point.
  
      Raises:
        ValueError: If the shape of `point_3d` is not supported.
      """
      with tf.name_scope(name):
          point_3d = tf.convert_to_tensor(value=point_3d)
  
          shape.check_static(
              tensor=point_3d,
              tensor_name="point_3d",
              has_dim_equals=(-1, 3),
          )
  
          point_xy, _ = tf.split(point_3d, (2, 1), axis=-1)
          return point_xy
  
file_path: graphics/tensorflow_graphics/rendering/camera/orthographic.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from tensorflow_graphics.util import export_api
  from tensorflow_graphics.util import shape
  from tensorflow_graphics.util import type_alias
label_desc: Use image node_id 1 for calling a global function with example usage: project(point_3d, name) and returns: point_xy