diff --git a/README.md b/README.md index 21eec5ab..bfdfd953 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ let b = cx.tensor::>() .set(vec![1.0, 2.0, 3.0, 4.0]); // Do stuff... -let c = a.matmul(b).retrieve(); +let mut c = a.matmul(b).retrieve(); // Compile and run graph -cx.compile(GenericCompiler::<()>::default()); +cx.compile(GenericCompiler::<()>::default(), &mut c); cx.execute(); // Get result