pub struct ReshapeOperationBuilder<'c, T0, O0, O1, O2, A0> { /* private fields */ }
Expand description
A builder for a reshape
operation.
Implementations§
source§impl<'c> ReshapeOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
impl<'c> ReshapeOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
source§impl<'c, O0, O1, O2, A0> ReshapeOperationBuilder<'c, Unset, O0, O1, O2, A0>
impl<'c, O0, O1, O2, A0> ReshapeOperationBuilder<'c, Unset, O0, O1, O2, A0>
pub fn result( self, result: Type<'c> ) -> ReshapeOperationBuilder<'c, Set, O0, O1, O2, A0>
source§impl<'c, T0, O1, O2, A0> ReshapeOperationBuilder<'c, T0, Unset, O1, O2, A0>
impl<'c, T0, O1, O2, A0> ReshapeOperationBuilder<'c, T0, Unset, O1, O2, A0>
pub fn vector( self, vector: Value<'c, '_> ) -> ReshapeOperationBuilder<'c, T0, Set, O1, O2, A0>
source§impl<'c, T0, O2, A0> ReshapeOperationBuilder<'c, T0, Set, Unset, O2, A0>
impl<'c, T0, O2, A0> ReshapeOperationBuilder<'c, T0, Set, Unset, O2, A0>
pub fn input_shape( self, input_shape: &[Value<'c, '_>] ) -> ReshapeOperationBuilder<'c, T0, Set, Set, O2, A0>
source§impl<'c, T0, A0> ReshapeOperationBuilder<'c, T0, Set, Set, Unset, A0>
impl<'c, T0, A0> ReshapeOperationBuilder<'c, T0, Set, Set, Unset, A0>
pub fn output_shape( self, output_shape: &[Value<'c, '_>] ) -> ReshapeOperationBuilder<'c, T0, Set, Set, Set, A0>
source§impl<'c, T0, O0, O1, O2> ReshapeOperationBuilder<'c, T0, O0, O1, O2, Unset>
impl<'c, T0, O0, O1, O2> ReshapeOperationBuilder<'c, T0, O0, O1, O2, Unset>
pub fn fixed_vector_sizes( self, fixed_vector_sizes: ArrayAttribute<'c> ) -> ReshapeOperationBuilder<'c, T0, O0, O1, O2, Set>
source§impl<'c> ReshapeOperationBuilder<'c, Set, Set, Set, Set, Set>
impl<'c> ReshapeOperationBuilder<'c, Set, Set, Set, Set, Set>
pub fn build(self) -> ReshapeOperation<'c>
Auto Trait Implementations§
impl<'c, T0, O0, O1, O2, A0> RefUnwindSafe for ReshapeOperationBuilder<'c, T0, O0, O1, O2, A0>where
A0: RefUnwindSafe,
O0: RefUnwindSafe,
O1: RefUnwindSafe,
O2: RefUnwindSafe,
T0: RefUnwindSafe,
impl<'c, T0, O0, O1, O2, A0> !Send for ReshapeOperationBuilder<'c, T0, O0, O1, O2, A0>
impl<'c, T0, O0, O1, O2, A0> !Sync for ReshapeOperationBuilder<'c, T0, O0, O1, O2, A0>
impl<'c, T0, O0, O1, O2, A0> Unpin for ReshapeOperationBuilder<'c, T0, O0, O1, O2, A0>
impl<'c, T0, O0, O1, O2, A0> UnwindSafe for ReshapeOperationBuilder<'c, T0, O0, O1, O2, A0>
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