Skip to content

Commit

Permalink
make device capable of stacking and concatenating usize type, which a…
Browse files Browse the repository at this point in the history
…re necessary for preparing tensors for embedding (#882)

Co-authored-by: Corey Lowman <clowman1993@gmail.com>
  • Loading branch information
optman and coreylowman authored Nov 6, 2023
1 parent 53469e9 commit 4476b5e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dfdx-core/src/tensor_ops/utilities/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ pub trait Device<E: Dtype>:

// appends
+ super::super::stack::StackKernel<E>
+ super::super::stack::StackKernel<usize>
+ super::super::concat::ConcatKernel<E>
+ super::super::concat::ConcatKernel<usize>
+ super::super::concat_along::ConcatAlongKernel<E>
+ super::super::concat_along::ConcatAlongKernel<usize>

// optimizers
+ super::super::adam::AdamKernel<E>
Expand Down

0 comments on commit 4476b5e

Please sign in to comment.