Enum cudnn::DataType [] [src]

pub enum DataType {
    Float,
    Double,
    Half,
}

Defines the available data types for the CUDA cuDNN data representation.

Variants

Float

F32

Double

F64

Half

F16 (no native Rust support yet)

Trait Implementations

impl Clone for DataType
[src]

fn clone(&self) -> DataType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for DataType
[src]

impl Debug for DataType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.