added the prunable support for pynn