Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/jafioti/luminal
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Fioti authored and Joe Fioti committed Jan 4, 2024
2 parents e7c78e9 + 09666f9 commit 4a7db75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ let b = cx.tensor::<R2<1, 4>>()
.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
Expand Down

0 comments on commit 4a7db75

Please sign in to comment.