Enum caffe::Mode [] [src]

pub enum Mode {
    CPU,
    GPU,
}

The computation mode that Caffe runs with.

Variants

CPU

CPU mode

GPU

GPU mode

Trait Implementations

Derived Implementations

impl Clone for Mode

fn clone(&self) -> Mode

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

impl Copy for Mode

impl Debug for Mode

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