DataTypeInfo

Trait DataTypeInfo 

Source
pub trait DataTypeInfo {
    // Required methods
    fn cudnn_data_type() -> DataType;
    fn size() -> usize;
}
Expand description

CuDnn type info for generic use.

Required Methods§

Source

fn cudnn_data_type() -> DataType

Mostly internal.

Source

fn size() -> usize

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl DataTypeInfo for f32

Source§

impl DataTypeInfo for f64

Implementors§