Contents

transpose(input:output:firstTransposeAxis:secondTransposeAxis:filterParameters:)

Transposes a tensor by swapping two of its dimensions.

Declaration

static func transpose(input: BNNSNDArrayDescriptor, output: BNNSNDArrayDescriptor, firstTransposeAxis: Int, secondTransposeAxis: Int, filterParameters: BNNSFilterParameters? = nil) throws

Parameters

  • input:

    The descriptor of the input.

  • output:

    The descriptor of the output.

  • firstTransposeAxis:

    The first axis of transposition.

  • secondTransposeAxis:

    The second axis of transposition.

  • filterParameters:

    Runtime filter parameters.

See Also

Utility functions