mirror of
https://github.com/huggingface/candle.git
synced 2025-06-20 20:09:50 +00:00
@ -131,6 +131,8 @@ macro_rules! ops{
|
||||
pub const HALF: Kernel = Kernel(concat!(stringify!($name), "_f16"));
|
||||
pub const BFLOAT: Kernel = Kernel(concat!(stringify!($name), "_bf16"));
|
||||
pub const I64: Kernel = Kernel(concat!(stringify!($name), "_i64"));
|
||||
pub const U32: Kernel = Kernel(concat!(stringify!($name), "_u32"));
|
||||
pub const U8: Kernel = Kernel(concat!(stringify!($name), "_u8"));
|
||||
}
|
||||
)+
|
||||
pub mod copy {
|
||||
@ -153,6 +155,8 @@ macro_rules! ops{
|
||||
pub const HALF: Kernel = Kernel(concat!(stringify!($name), "_f16_strided"));
|
||||
pub const BFLOAT: Kernel = Kernel(concat!(stringify!($name), "_bf16_strided"));
|
||||
pub const I64: Kernel = Kernel(concat!(stringify!($name), "_i64_strided"));
|
||||
pub const U32: Kernel = Kernel(concat!(stringify!($name), "_u32_strided"));
|
||||
pub const U8: Kernel = Kernel(concat!(stringify!($name), "_u8_strided"));
|
||||
}
|
||||
)+
|
||||
pub mod copy {
|
||||
|
Reference in New Issue
Block a user