pub fn assert_equals_approx_in_slice<I>(
lhs: &HostData,
rhs: &HostData,
epsilon: f32,
filter: I,
) -> ValidationResultExpand description
Check if two tensors are approximately equal within the given filter.
filter is anything iterable whose items convert into DimFilter, so
both Vec<std::ops::Range<usize>> and the canonical TensorFilter
(matching the ruda-test.toml [print] filter syntax) work — one DSL for
selective comparison and selective printing.