pub fn conv_terms(
lshape: &[usize],
rshape: &[usize],
w: &ConvWindow<'_>,
d: &ConvDims,
feature_group_count: usize,
batch_group_count: usize,
) -> Vec<[usize; 3]>Expand description
The products that conv_general_dilated sums, in its order: for each
element of the result (row-major), [result, lhs, rhs] positions of the
operands’ elements whose products are added, from zero, in this order (to
compile small convolutions as a table: the same sums as the kernel, bit
for bit, for the types it does not fuse or widen, that is, other than
f64, f16, and bf16).