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-10-05 15:47:09 -07:00
2021-09-14 13:55:55 -07:00
2021-10-04 17:54:46 -07:00
2021-04-19 08:53:12 -07:00
2021-10-04 17:54:46 -07:00
2021-10-07 18:59:13 -07:00
2021-01-13 10:26:35 -05:00
2021-09-28 11:04:02 -04:00
2021-10-12 19:08:56 -07:00