Remove use of deprecated `batch_shape` and `event_shape` args to `tfd.TransformedDistribution`.
Remove use of deprecated `batch_shape` and `event_shape` args to `tfd.TransformedDistribution`.

PiperOrigin-RevId: 318639677

google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research