code: def _shape(
      batch_shape: Union[type_alias.TensorLike, List[int]],
      *shapes: Union[
          type_alias.TensorLike, List[type_alias.TensorLike]
      ],
  ) -> tf.Tensor:
      """Creates a new shape concatenating batch_shape and shapes.
  
      Args:
        batch_shape: A Tensor or list/tuple containing the batch dimensions.
        *shapes: A tuple containing new dimensions to append to the final shape.
  
      Returns:
        A Tensor containing the final shape dimensions.
      """
      return tf.concat((batch_shape, shapes), axis=-1)
  
file_path: graphics/tensorflow_graphics/image/matting.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import List, Tuple, Union
  import numpy
  import tensorflow
  from tensorflow_graphics.math import vector
  from tensorflow_graphics.util import asserts
  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: _shape(batch_shape) and returns: tf