Fix Upsample/EmbeddingBag module printing (#93850)
The fix generalizes but I want someone else to holistically figure this out.
Fixes https://github.com/pytorch/pytorch/issues/93233
Fixes https://github.com/pytorch/pytorch/issues/93512
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/93850
Approved by: https://github.com/albanD