Issue created for Rollback of PR #61276: return assert_shapes for debugging.assert_shapes
Merged PR #61276 is rolled back in 9c492018a641ac6b5a03b65a77ff9d1ce60699eb.
    Please follow up with the reviewer and close this issue once its resolved.