Merge pull request #6 from LaurentMazare/add_embedding

Adding embedding op (not generic gather, no select).
This commit is contained in:
Nicolas Patry
2023-06-23 13:49:13 +02:00
committed by GitHub
8 changed files with 160 additions and 0 deletions

View File

@ -7,6 +7,7 @@ pub(crate) enum Op {
Sub(Tensor, Tensor),
Div(Tensor, Tensor),
Matmul(Tensor, Tensor),
Embedding(Tensor, Tensor),
Cat(Vec<Tensor>, usize),