Struct caffe::Solver [] [src]

pub struct Solver {
    // some fields omitted
}

A wrapper around a caffe::Solver for training networks.

Methods

impl Solver

fn new(path: &Path) -> Solver

Construct a solver from a serialized caffe::SolverParameter.

fn solve(&mut self)

Solve the net.

fn net(&mut self) -> Net

Extract a pointer to the net used by the solver.

Trait Implementations

impl Drop for Solver

fn drop(&mut self)