mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 19:18:50 +00:00
Start adding index-add.
This commit is contained in:
@ -41,6 +41,15 @@ pub trait BackendStorage: Sized {
|
||||
|
||||
fn embedding(&self, _: &Layout, _: &Self, _: &Layout) -> Result<Self>;
|
||||
fn index_select(&self, _: &Self, _: &Layout, _: &Layout, _: usize) -> Result<Self>;
|
||||
fn index_add(
|
||||
&self,
|
||||
_: &Layout,
|
||||
_: &Self,
|
||||
_: &Layout,
|
||||
_: &Self,
|
||||
_: &Layout,
|
||||
_: usize,
|
||||
) -> Result<Self>;
|
||||
|
||||
fn matmul(
|
||||
&self,
|
||||
|
Reference in New Issue
Block a user