Contents

concatenate(_:axis:)

Adds a concatenation operation to the current graph.

Declaration

func concatenate<T>(_ tensors: [BNNSGraph.Builder.Tensor<T>], axis: Int) -> BNNSGraph.Builder.Tensor<T> where T : BNNSScalar

Parameters

  • tensors:

    An array that contains the tensors that the operation concatenates.

  • axis:

    The axis along which the operation performs concatenation.