mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 10:26:33 +00:00
Make func cloneable. (#1137)
This commit is contained in:
@ -108,7 +108,7 @@ pub fn parse_config<T: AsRef<Path>>(path: T) -> Result<Darknet> {
|
||||
}
|
||||
|
||||
enum Bl {
|
||||
Layer(Box<dyn candle_nn::Module + Send>),
|
||||
Layer(Box<dyn candle_nn::Module + Send + Sync>),
|
||||
Route(Vec<usize>),
|
||||
Shortcut(usize),
|
||||
Yolo(usize, Vec<(usize, usize)>),
|
||||
|
Reference in New Issue
Block a user