Skip to content

Commit

Permalink
Merge branch 'gemm' of https://github.com/akshitgaur2005/burn into gemm
Browse files Browse the repository at this point in the history
  • Loading branch information
akshitgaur2005 committed Mar 4, 2025
2 parents ca33b68 + 5311503 commit 7566313
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion burn-book/src/building-blocks/tensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,12 @@ Those operations are only available for `Bool` tensors.
| `Tensor::tril_mask(shape, diagonal)` | N/A |
| `Tensor::triu_mask(shape, diagonal)` | N/A |
| `tensor.argwhere()` | `tensor.argwhere()` |
| `tensor.bool_and()` | `tensor.logical_and()` |
| `tensor.bool_not()` | `tensor.logical_not()` |
| `tensor.bool_or()` | `tensor.logical_or()` |
| `tensor.float()` | `tensor.to(torch.float)` |
| `tensor.int()` | `tensor.to(torch.long)` |
| `tensor.nonzero()` | `tensor.nonzero(as_tuple=True)` |
| `tensor.not()` | `tensor.logical_not()` |

### Quantization Operations

Expand Down
2 changes: 1 addition & 1 deletion burn-book/src/import/onnx-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ let model = Model::<Backend>::new(&device);
let model = Model::<Backend>::from_file("path/to/weights", &device);

// Load from embedded weights (if embed_states was true)
let model = Model::<Backend>::from_embedded();
let model = Model::<Backend>::from_embedded(&device);

// Load from the out director location and load to default device (useful for testing)
let model = Model::<Backend>::default();
Expand Down

0 comments on commit 7566313

Please sign in to comment.