pub fn convert(input: &TracedTensor, to: DType) -> TracedTensor
Convert a traced tensor to a different dtype.
use tenferro::DType; let y = tenferro::convert(&x, DType::C64);