Struct caffe2_operator::ParallelNet
source · pub struct ParallelNet { /* private fields */ }
Implementations§
source§impl ParallelNet
impl ParallelNet
pub fn new(net_def: &Arc<NetDef>, ws: *mut Workspace) -> Self
pub fn run_async(&mut self) -> bool
pub fn wait(&mut self)
pub fn reset(&mut self)
pub fn handle_run_error(&mut self) -> bool
pub fn pool_getter( &mut self, pools: &mut HashMap<i32, HashMap<i32, Arc<dyn TaskThreadPoolBaseInterface>>>, device_type: i32, device_id: i32, pool_size: i32 ) -> *mut dyn TaskThreadPoolBaseInterface
pub fn pool( &mut self, device_option: &DeviceOption ) -> Arc<dyn TaskThreadPoolBaseInterface>
pub fn supports_async(&mut self) -> bool
pub fn finish_run(&mut self)
pub fn get_operators(&self) -> Vec<*mut OperatorStorage>
Auto Trait Implementations§
impl !RefUnwindSafe for ParallelNet
impl !Send for ParallelNet
impl !Sync for ParallelNet
impl Unpin for ParallelNet
impl !UnwindSafe for ParallelNet
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.