Skip to main content

convert

Function convert 

Source
pub fn convert(cx: &mut dyn AdCx, x: &Atom, dtype: DType) -> Result<Atom>
Expand description

Converts to another type (a no-op for the same type).

ยงErrors

Returns an error if the conversion is rejected.