Add some very basic backprop.

This commit is contained in:
laurent
2023-06-20 20:33:44 +01:00
parent 3b7984ccce
commit c4c303b6f1
4 changed files with 112 additions and 5 deletions

View File

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