Yash Katariya 66d04f85e6 Error out if going from Manual -> Auto/Explicit AxisTypes in the auto_axes and explicit_axes API that do mesh_cast implicitly.
Also, improve the error raised by canonicalize_sharding to include the api name and current source location.

PiperOrigin-RevId: 728701237
2025-02-19 09:21:53 -08:00
..
2025-02-18 14:03:46 -08:00
2024-12-18 07:46:14 +00:00
2025-02-18 16:47:19 -08:00
2024-05-25 17:46:01 +00:00
2024-10-07 12:27:35 -07:00
2024-11-05 13:28:17 -08:00
2025-02-18 09:44:16 +00:00
2024-07-15 12:54:00 -07:00