tilus.ir.layout.global_compose

Contents

tilus.ir.layout.global_compose

tilus.ir.layout.global_compose(lhs, rhs, *others)[source]

Compose multiple global layouts.

This function composes two or more global layouts into a single global layout. Please refer to our research paper Tilus, Section 4.2 for more details on layout composition.

Parameters:
  • lhs (GlobalLayout) – The left-hand side global layout.

  • rhs (GlobalLayout) – The right-hand side global layout.

  • others (Sequence[GlobalLayout]) – The additional global layouts to be composed with the first two. It’s optional and can be empty.

Returns:

ret – The composed global layout that combines the effects of all input layouts.

Return type:

GlobalLayout