Peter Hawkins 48bbdbc890 Change jax.core.DropVar to be a non-singleton.
Previously jax.core.DropVar was a singleton value (jax.core.dropvar) whose type was always jax.core.AbstractUnit. However, this type is misleading: a DropVar is an equation output, and typically we would expect it to have an array type. In particular, the unit type confuses new-style translation rules that expect to use the output aval on an equation as part of the lowering logic.

Instead, change DropVar to be a non-singleton subclass of Var instead with a flexible choice of aval.

PiperOrigin-RevId: 404071001
2021-10-18 15:02:54 -07:00
..
2021-09-08 23:29:20 +00:00
2021-10-13 14:38:33 +01:00
2021-10-04 17:54:46 -07:00
2021-08-01 20:13:02 -07:00
2021-03-08 10:44:52 -08:00
2021-09-10 18:52:47 -07:00
2021-08-04 16:55:13 -07:00
2021-08-04 16:55:13 -07:00
2021-09-10 18:52:47 -07:00
2019-08-29 18:15:36 -07:00
2020-10-15 11:10:56 -04:00
2021-09-24 09:59:10 -04:00
2021-09-27 09:48:27 -07:00
2021-08-04 16:55:13 -07:00
2021-08-04 16:55:13 -07:00
2019-10-09 17:45:09 +02:00

To rebuild the documentation, see Update Documentation.