pub fn convert(cx: &mut dyn AdCx, x: &Atom, dtype: DType) -> Result<Atom>
Converts to another type (a no-op for the same type).
Returns an error if the conversion is rejected.