mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 11:56:45 +00:00
Putting back Send + Sync
This commit is contained in:
@ -103,7 +103,7 @@ pub enum Op {
|
||||
}
|
||||
|
||||
/// Unary ops that can be defined in user-land.
|
||||
pub trait CustomOp1 {
|
||||
pub trait CustomOp1: Send + Sync {
|
||||
// Box<dyn> does not support const yet, so use a function to get the name.
|
||||
fn name(&self) -> &'static str;
|
||||
|
||||
|
Reference in New Issue
Block a user