Contents

BNNSTranspose(_:_:_:_:_:)

Transposes a tensor by swapping two of its dimensions.

Declaration

func BNNSTranspose(_ dest: UnsafeMutablePointer<BNNSNDArrayDescriptor>, _ src: UnsafePointer<BNNSNDArrayDescriptor>, _ axis0: Int, _ axis1: Int, _ filter_params: UnsafePointer<BNNSFilterParameters>?) -> Int32

Parameters

  • dest:

    The descriptor of the desination.

  • src:

    The descriptor of the source.

  • axis0:

    First transpose axis.

  • axis1:

    Second transpose axis.

  • filter_params:

    The filter runtime parameters.

See Also

Utility functions