/** * Returns a set of all possible mappings of tensor {@code from} on tensor {@code to}. * * @param from from tensor * @param to to tensor * @return a set of all possible mappings of tensor {@code from} on tensor {@code to} */ public static Set<Mapping> getAllMappings(Tensor from, Tensor to) { return getAllMappings(IndexMappings.createPort(from, to)); }