class_docstr: Rearrange layer behaves identically to einops.rearrange operation.
  
  :param pattern: str, rearrangement pattern
  :param axes_lengths: any additional specification of dimensions
  
  See einops.rearrange for source_examples.
class_docstr_tok: ["Rearrange","layer","behaves","identically","to","einops.rearrange","operation",".",":","param","pattern",":","str",",","rearrangement","pattern",":","param","axes_lengths",":","any","additional","specification","of","dimensions","See","einops.rearrange","for","source_examples","."]
code: def multirecipe(self) -> Dict[int, TransformRecipe]:
      try:
          return _prepare_recipes_for_all_dims(
              self.pattern,
              operation="rearrange",
              axes_names=tuple(self.axes_lengths),
          )
      except EinopsError as e:
          raise EinopsError(
              " Error while preparing {!r}\n {}".format(self, e)
          )
  
file_path: einops/einops/layers/__init__.py
imports: from typing import Any, Dict
  from ..einops import TransformRecipe, _apply_recipe, _prepare_recipes_for_all_dims, get_backend
  from ..None import EinopsError
label_desc: Use image node_id 3 for calling the RearrangeMixin obj's underlying member method code with example usage: obj.multirecipe() and returns: _prepare_recipes_for_all_dims