Contents

concatenate(sources:dimension:)

Adds a new concatenation layer to the graph using the source tensors and concatenation dimension you specify.

Declaration

func concatenate(sources: [MLCTensor], dimension: Int) -> MLCTensor?

Parameters

  • sources:

    An array that contains the source tensors.

  • dimension:

    The concatenation dimension.

Return Value

A result tensor.

See Also

Adding New Layers to Graphs