pub struct RoiPoolDescriptor {
pub n: i32,
pub c: i32,
pub h: i32,
pub w: i32,
pub num_rois: i32,
pub pooled_h: i32,
pub pooled_w: i32,
pub spatial_scale: f32,
pub element: ElementKind,
}Expand description
Descriptor for roi_pool.
Fields§
§n: i32Batch.
c: i32Channels.
h: i32Input height.
w: i32Input width.
num_rois: i32Number of RoIs.
pooled_h: i32Output pooled height per RoI.
pooled_w: i32Output pooled width per RoI.
spatial_scale: f32RoI coord scale.
element: ElementKindValue element type.
Trait Implementations§
Source§impl Clone for RoiPoolDescriptor
impl Clone for RoiPoolDescriptor
Source§fn clone(&self) -> RoiPoolDescriptor
fn clone(&self) -> RoiPoolDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RoiPoolDescriptor
Auto Trait Implementations§
impl Freeze for RoiPoolDescriptor
impl RefUnwindSafe for RoiPoolDescriptor
impl Send for RoiPoolDescriptor
impl Sync for RoiPoolDescriptor
impl Unpin for RoiPoolDescriptor
impl UnsafeUnpin for RoiPoolDescriptor
impl UnwindSafe for RoiPoolDescriptor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more