concat_shapes

tfsnippet.utils.concat_shapes(shapes, name=None)

Concat shapes from shapes.

Parameters:
  • shapes (Iterable[tuple[int] or tf.Tensor]) – List of shape tuples or tensors.
  • name (str) – Default name of the name scope. If not specified, generate one according to the method name.
Returns:

The concatenated shape.

Return type:

tuple[int] or tf.Tensor