Trait burn::prelude::ElementConversion
pub trait ElementConversion {
// Required methods
fn from_elem<E>(elem: E) -> Self
where E: ToElement;
fn elem<E>(self) -> E
where E: Element;
}
Expand description
Element conversion trait for tensor.
Required Methods§
Object Safety§
This trait is not object safe.