Rate this Page

torch.fx.experimental.accelerator_partitioner.combine_two_partitions#

torch.fx.experimental.accelerator_partitioner.combine_two_partitions(partition_0, partition_1, 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