Add the casting operation.

This commit is contained in:
laurent
2023-06-23 21:22:07 +01:00
parent 8ed350dc94
commit 5d44e76e3f
6 changed files with 83 additions and 4 deletions

View File

@ -21,6 +21,7 @@ pub(crate) enum Op {
mul: f64,
add: f64,
},
ToDType(Tensor),
Exp(Tensor),
Log(Tensor),
Sin(Tensor),