Module 'pymc' has no attribute 'CustomDist

Now I continue to implement custom distribution with ‘CustomDist’. But I confused to implement my dist function.


This is the distribution funciton I want to implement, can you give me some advice how to solve it? What confuses me is the class.dist return form.