mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 19:18:50 +00:00
Reworked affine and it works ? No idea how it's different.
This commit is contained in:
@ -144,7 +144,7 @@ impl BackendStorage for MetalStorage {
|
||||
}
|
||||
|
||||
fn reduce_op(&self, op: ReduceOp, layout: &Layout, sum_dims: &[usize]) -> Result<Self> {
|
||||
debug!("TODO reduce_op");
|
||||
debug!("TODO reduce_op {op:?}");
|
||||
let src_stride = layout.stride();
|
||||
let src_dims = layout.shape().dims();
|
||||
let src_el: usize = src_dims.iter().product();
|
||||
|
Reference in New Issue
Block a user