mistralrs_core

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§