Add transposition around arbitrary axis.

This commit is contained in:
laurent
2023-06-23 08:51:13 +01:00
parent 27d428af1a
commit 3f79d81b6f
2 changed files with 25 additions and 11 deletions

View File

@ -17,7 +17,7 @@ pub(crate) enum Op {
Neg(Tensor),
Sqr(Tensor),
Sqrt(Tensor),
Transpose(Tensor),
Transpose(Tensor, usize, usize),
// TODO: Support for custom ops.
}