(
name: str, delegates: List[BackendDelegate]
)
| 325 | |
| 326 | def test_canonicalize_delegate_indices(self) -> None: |
| 327 | def make_execution_plan( |
| 328 | name: str, delegates: List[BackendDelegate] |
| 329 | ) -> ExecutionPlan: |
| 330 | return ExecutionPlan( |
| 331 | name=name, |
| 332 | container_meta_type=ContainerMetadata( |
| 333 | encoded_inp_str="encoded_inp_str", |
| 334 | encoded_out_str="encoded_out_str", |
| 335 | ), |
| 336 | values=[], |
| 337 | inputs=[], |
| 338 | outputs=[], |
| 339 | chains=[], |
| 340 | operators=[], |
| 341 | delegates=delegates, |
| 342 | non_const_buffer_sizes=[], |
| 343 | ) |
| 344 | |
| 345 | # A program with three delegates across two execution plans. To start |
| 346 | # with, the data indices in the delegates are in a non-canonical order. |
nothing calls this directly
no test coverage detected