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) throwsParameters
- 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
copy(_:to:filterParameters:)BNNSCopy(_:_:_:)BNNSTranspose(_:_:_:_:_:)BNNSGetPointer(_:_:)BNNSPointerSpecifierBNNS.GramLayerBNNSLayerParametersGramBNNSFilterCreateLayerGram(_:_:)clip(to:input:output:)clipByNorm(threshold:input:output:axes:)clipByGlobalNorm(threshold:inputs:outputs:globalNorm:)BNNSClipByValue(_:_:_:_:)BNNSClipByNorm(_:_:_:_:)BNNSClipByGlobalNorm(_:_:_:_:_:)copyBandPart(_:to:lowerBandCount:upperBandCount:filterParameters:)