Similar to https://github.com/pymc-devs/pymc/pull/7826 but for the pytensor graph. What are the different types of nodes in the graph? Do plates / subgraphs exist (would this be each op)? What is the idea here? CC: @ricardoV94