MCPcopy Create free account
hub / github.com/pytorch/pytorch / pprint

Method pprint

torch/_inductor/codegen/memory_planning.py:524–529  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

522 pool.finalize(f"pool{i}")
523
524 def pprint(self):
525 for pool in itertools.chain.from_iterable(self.device_to_pools.values()):
526 print()
527 print(pool.name)
528 print(pool.root.get_live_ranges())
529 pprint.pprint(pool.root)
530
531
532class BufferGroup:

Callers 6

dumpMethod · 0.80
get_model_infoFunction · 0.80
print_assert_equalFunction · 0.80
print_coverage_infoFunction · 0.80
mainFunction · 0.80

Calls 2

valuesMethod · 0.45
get_live_rangesMethod · 0.45

Tested by

no test coverage detected