mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 19:58:35 +00:00
VarBuilder cleanup (#627)
* VarBuilder cleanup. * Implement the basic varbuilders. * Add the sharded code. * Proper support for tensor sharding.
This commit is contained in:
@ -139,3 +139,9 @@ impl Init {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for Init {
|
||||
fn default() -> Self {
|
||||
Self::Const(0.)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user