Add the copy method.

This commit is contained in:
laurent
2023-06-23 08:12:52 +01:00
parent 552276749a
commit fc41ccb5bb
2 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,6 @@
use crate::Tensor;
#[derive(Clone)]
pub(crate) enum Op {
Add(Tensor, Tensor),
Mul(Tensor, Tensor),