pub struct MaxPoolAttrsBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }
Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> MaxPoolAttrsBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> MaxPoolAttrsBuilder<'a, 'b, A>
pub fn add_kernel_size(&mut self, kernel_size: WIPOffset<Vector<'b, u32>>)
pub fn add_auto_pad(&mut self, auto_pad: AutoPad)
pub fn add_pads(&mut self, pads: WIPOffset<Vector<'b, u32>>)
pub fn add_strides(&mut self, strides: WIPOffset<Vector<'b, u32>>)
pub fn add_ceil_mode(&mut self, ceil_mode: bool)
pub fn new( _fbb: &'b mut FlatBufferBuilder<'a, A>, ) -> MaxPoolAttrsBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<MaxPoolAttrs<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for MaxPoolAttrsBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for MaxPoolAttrsBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for MaxPoolAttrsBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for MaxPoolAttrsBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for MaxPoolAttrsBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for MaxPoolAttrsBuilder<'a, 'b, A>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more