for name, p in model.named_parameters(): print(name, tuple(p.shape), p.is_leaf, type(p).__name__)