Trait TryIntoDType

Source
pub trait TryIntoDType {
    // Required method
    fn try_into_dtype(&self, devices: &[&Device]) -> Result<DType>;
}
Expand description

Type which can be converted to a DType

Required Methods§

Source

fn try_into_dtype(&self, devices: &[&Device]) -> Result<DType>

Implementations on Foreign Types§

Source§

impl TryIntoDType for DType

Source§

fn try_into_dtype(&self, _: &[&Device]) -> Result<DType>

Implementors§