torch.fx.experimental.accelerator_partitioner.combine_two_partitions#
- torch.fx.experimental.accelerator_partitioner.combine_two_partitions = <function combine_two_partitions>[source]#
Given a list of partitions and its two partitions, combine these two partitions into a new one appending to the partitions and remove the previous two partitions from the list of partitions