pub struct Net { /* private fields */ }
Implementations
sourceimpl Net
impl Net
pub fn new() -> Net
pub fn set_option(&mut self, opt: &Option)
pub fn load_param(&mut self, path: &str) -> Result<()>
pub fn load_model(&mut self, path: &str) -> Result<()>
pub fn load_model_datareader(&mut self, dr: &DataReader) -> Result<()>
pub fn create_extractor(&mut self) -> Extractor<'_>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Net
impl !Send for Net
impl !Sync for Net
impl Unpin for Net
impl UnwindSafe for Net
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more