pub struct RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, A5, A6> { /* private fields */ }
Expand description
A builder for a rescale
operation.
Implementations§
source§impl<'c> RescaleOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset, Unset, Unset, Unset, Unset>
impl<'c> RescaleOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset, Unset, Unset, Unset, Unset>
source§impl<'c, O0, A0, A1, A2, A3, A4, A5, A6> RescaleOperationBuilder<'c, Unset, O0, A0, A1, A2, A3, A4, A5, A6>
impl<'c, O0, A0, A1, A2, A3, A4, A5, A6> RescaleOperationBuilder<'c, Unset, O0, A0, A1, A2, A3, A4, A5, A6>
pub fn output( self, output: Type<'c> ) -> RescaleOperationBuilder<'c, Set, O0, A0, A1, A2, A3, A4, A5, A6>
source§impl<'c, T0, A0, A1, A2, A3, A4, A5, A6> RescaleOperationBuilder<'c, T0, Unset, A0, A1, A2, A3, A4, A5, A6>
impl<'c, T0, A0, A1, A2, A3, A4, A5, A6> RescaleOperationBuilder<'c, T0, Unset, A0, A1, A2, A3, A4, A5, A6>
pub fn input( self, input: Value<'c, '_> ) -> RescaleOperationBuilder<'c, T0, Set, A0, A1, A2, A3, A4, A5, A6>
source§impl<'c, T0, O0, A1, A2, A3, A4, A5, A6> RescaleOperationBuilder<'c, T0, O0, Unset, A1, A2, A3, A4, A5, A6>
impl<'c, T0, O0, A1, A2, A3, A4, A5, A6> RescaleOperationBuilder<'c, T0, O0, Unset, A1, A2, A3, A4, A5, A6>
pub fn input_zp( self, input_zp: IntegerAttribute<'c> ) -> RescaleOperationBuilder<'c, T0, O0, Set, A1, A2, A3, A4, A5, A6>
source§impl<'c, T0, O0, A0, A2, A3, A4, A5, A6> RescaleOperationBuilder<'c, T0, O0, A0, Unset, A2, A3, A4, A5, A6>
impl<'c, T0, O0, A0, A2, A3, A4, A5, A6> RescaleOperationBuilder<'c, T0, O0, A0, Unset, A2, A3, A4, A5, A6>
pub fn output_zp( self, output_zp: IntegerAttribute<'c> ) -> RescaleOperationBuilder<'c, T0, O0, A0, Set, A2, A3, A4, A5, A6>
source§impl<'c, T0, O0, A0, A1, A3, A4, A5, A6> RescaleOperationBuilder<'c, T0, O0, A0, A1, Unset, A3, A4, A5, A6>
impl<'c, T0, O0, A0, A1, A3, A4, A5, A6> RescaleOperationBuilder<'c, T0, O0, A0, A1, Unset, A3, A4, A5, A6>
pub fn multiplier( self, multiplier: DenseI32ArrayAttribute<'c> ) -> RescaleOperationBuilder<'c, T0, O0, A0, A1, Set, A3, A4, A5, A6>
source§impl<'c, T0, O0, A0, A1, A2, A4, A5, A6> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, Unset, A4, A5, A6>
impl<'c, T0, O0, A0, A1, A2, A4, A5, A6> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, Unset, A4, A5, A6>
pub fn shift( self, shift: DenseI32ArrayAttribute<'c> ) -> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, Set, A4, A5, A6>
source§impl<'c, T0, O0, A0, A1, A2, A3, A5, A6> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, Unset, A5, A6>
impl<'c, T0, O0, A0, A1, A2, A3, A5, A6> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, Unset, A5, A6>
pub fn scale_32( self, scale_32: Attribute<'c> ) -> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, Set, A5, A6>
source§impl<'c, T0, O0, A0, A1, A2, A3, A4, A6> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, Unset, A6>
impl<'c, T0, O0, A0, A1, A2, A3, A4, A6> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, Unset, A6>
pub fn double_round( self, double_round: Attribute<'c> ) -> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, Set, A6>
source§impl<'c, T0, O0, A0, A1, A2, A3, A4, A5> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, A5, Unset>
impl<'c, T0, O0, A0, A1, A2, A3, A4, A5> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, A5, Unset>
pub fn per_channel( self, per_channel: Attribute<'c> ) -> RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, A5, Set>
source§impl<'c> RescaleOperationBuilder<'c, Set, Set, Set, Set, Set, Set, Set, Set, Set>
impl<'c> RescaleOperationBuilder<'c, Set, Set, Set, Set, Set, Set, Set, Set, Set>
pub fn build(self) -> RescaleOperation<'c>
Auto Trait Implementations§
impl<'c, T0, O0, A0, A1, A2, A3, A4, A5, A6> RefUnwindSafe for RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, A5, A6>where
A0: RefUnwindSafe,
A1: RefUnwindSafe,
A2: RefUnwindSafe,
A3: RefUnwindSafe,
A4: RefUnwindSafe,
A5: RefUnwindSafe,
A6: RefUnwindSafe,
O0: RefUnwindSafe,
T0: RefUnwindSafe,
impl<'c, T0, O0, A0, A1, A2, A3, A4, A5, A6> !Send for RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, A5, A6>
impl<'c, T0, O0, A0, A1, A2, A3, A4, A5, A6> !Sync for RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, A5, A6>
impl<'c, T0, O0, A0, A1, A2, A3, A4, A5, A6> Unpin for RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, A5, A6>
impl<'c, T0, O0, A0, A1, A2, A3, A4, A5, A6> UnwindSafe for RescaleOperationBuilder<'c, T0, O0, A0, A1, A2, A3, A4, A5, A6>where
A0: UnwindSafe,
A1: UnwindSafe,
A2: UnwindSafe,
A3: UnwindSafe,
A4: UnwindSafe,
A5: UnwindSafe,
A6: UnwindSafe,
O0: UnwindSafe,
T0: UnwindSafe,
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