tests/testthat/helper-TransformRecipeUtils.R

# # utility function to create a list of unknown axis lengths
make_unknown_composition <- function(x) {
    lapply(seq_along(x), function(i) list(known = integer(), unknown = i))
}

Try the einops package in your browser

Any scripts or data that you put into this service are public.

einops documentation built on Sept. 9, 2025, 5:29 p.m.