pub struct MaxPool2dOperationBuilder<'c, T0, O0, A0, A1, A2> { /* private fields */ }
Expand description
A builder for a max_pool2d
operation.
Implementations§
source§impl<'c> MaxPool2dOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
impl<'c> MaxPool2dOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
source§impl<'c, O0, A0, A1, A2> MaxPool2dOperationBuilder<'c, Unset, O0, A0, A1, A2>
impl<'c, O0, A0, A1, A2> MaxPool2dOperationBuilder<'c, Unset, O0, A0, A1, A2>
pub fn output( self, output: Type<'c> ) -> MaxPool2dOperationBuilder<'c, Set, O0, A0, A1, A2>
source§impl<'c, T0, A0, A1, A2> MaxPool2dOperationBuilder<'c, T0, Unset, A0, A1, A2>
impl<'c, T0, A0, A1, A2> MaxPool2dOperationBuilder<'c, T0, Unset, A0, A1, A2>
pub fn input( self, input: Value<'c, '_> ) -> MaxPool2dOperationBuilder<'c, T0, Set, A0, A1, A2>
source§impl<'c, T0, O0, A1, A2> MaxPool2dOperationBuilder<'c, T0, O0, Unset, A1, A2>
impl<'c, T0, O0, A1, A2> MaxPool2dOperationBuilder<'c, T0, O0, Unset, A1, A2>
pub fn kernel( self, kernel: Attribute<'c> ) -> MaxPool2dOperationBuilder<'c, T0, O0, Set, A1, A2>
source§impl<'c, T0, O0, A0, A2> MaxPool2dOperationBuilder<'c, T0, O0, A0, Unset, A2>
impl<'c, T0, O0, A0, A2> MaxPool2dOperationBuilder<'c, T0, O0, A0, Unset, A2>
pub fn stride( self, stride: Attribute<'c> ) -> MaxPool2dOperationBuilder<'c, T0, O0, A0, Set, A2>
source§impl<'c, T0, O0, A0, A1> MaxPool2dOperationBuilder<'c, T0, O0, A0, A1, Unset>
impl<'c, T0, O0, A0, A1> MaxPool2dOperationBuilder<'c, T0, O0, A0, A1, Unset>
pub fn pad( self, pad: Attribute<'c> ) -> MaxPool2dOperationBuilder<'c, T0, O0, A0, A1, Set>
source§impl<'c> MaxPool2dOperationBuilder<'c, Set, Set, Set, Set, Set>
impl<'c> MaxPool2dOperationBuilder<'c, Set, Set, Set, Set, Set>
pub fn build(self) -> MaxPool2dOperation<'c>
Auto Trait Implementations§
impl<'c, T0, O0, A0, A1, A2> RefUnwindSafe for MaxPool2dOperationBuilder<'c, T0, O0, A0, A1, A2>where
A0: RefUnwindSafe,
A1: RefUnwindSafe,
A2: RefUnwindSafe,
O0: RefUnwindSafe,
T0: RefUnwindSafe,
impl<'c, T0, O0, A0, A1, A2> !Send for MaxPool2dOperationBuilder<'c, T0, O0, A0, A1, A2>
impl<'c, T0, O0, A0, A1, A2> !Sync for MaxPool2dOperationBuilder<'c, T0, O0, A0, A1, A2>
impl<'c, T0, O0, A0, A1, A2> Unpin for MaxPool2dOperationBuilder<'c, T0, O0, A0, A1, A2>
impl<'c, T0, O0, A0, A1, A2> UnwindSafe for MaxPool2dOperationBuilder<'c, T0, O0, A0, A1, A2>
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