mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 11:08:52 +00:00
Test the broadcasting binary ops. (#196)
This commit is contained in:
@ -305,6 +305,7 @@ fn binary_map<T: Copy, F: FnMut(T, T) -> T>(
|
||||
}
|
||||
}
|
||||
|
||||
// Similar to binary_map but with vectorized variants.
|
||||
fn binary_map_vec<T: Copy, F: FnMut(T, T) -> T, FV: FnMut(&[T], &[T], &mut [T])>(
|
||||
lhs_l: &Layout,
|
||||
rhs_l: &Layout,
|
||||
|
Reference in New Issue
Block a user