Function stack

  • Stacks an array of tensors along an axis. Tensors must have the same rank.

    Returns

    the stacked tensor

    Parameters

    • tensors: Tensor[]

      the tensors to be stacked

    • Optional axis: number

      (optional) the axis to stack along

    Returns Tensor

Generated using TypeDoc