Discretization of Continuous Variables in Pymc

But I want to create discrete sub-nodes, is it possible to achieve this through regression?