private
swapdims
— function
swapdims(perm)
Convenience function for permuting the dimensions of an array.
perm
is a vector or tuple specifying a permutation of the input dimensions.
Equivalent to permutedims(x, perm)
.
private
swapdims
— function
swapdims(perm)
Convenience function for permuting the dimensions of an array.
perm
is a vector or tuple specifying a permutation of the input dimensions.
Equivalent to permutedims(x, perm)
.