pub struct ExpandShapeOperationBuilder<'c, T0, O0, O1, A0, A1> { /* private fields */ }Expand description
A builder for an expand_shape operation.
Implementations§
Source§impl<'c> ExpandShapeOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
impl<'c> ExpandShapeOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
Source§impl<'c, O0, O1, A0, A1> ExpandShapeOperationBuilder<'c, Unset, O0, O1, A0, A1>
impl<'c, O0, O1, A0, A1> ExpandShapeOperationBuilder<'c, Unset, O0, O1, A0, A1>
pub fn result( self, result: Type<'c>, ) -> ExpandShapeOperationBuilder<'c, Set, O0, O1, A0, A1>
Source§impl<'c, T0, O1, A0, A1> ExpandShapeOperationBuilder<'c, T0, Unset, O1, A0, A1>
impl<'c, T0, O1, A0, A1> ExpandShapeOperationBuilder<'c, T0, Unset, O1, A0, A1>
pub fn src( self, src: Value<'c, '_>, ) -> ExpandShapeOperationBuilder<'c, T0, Set, O1, A0, A1>
Source§impl<'c, T0, A0, A1> ExpandShapeOperationBuilder<'c, T0, Set, Unset, A0, A1>
impl<'c, T0, A0, A1> ExpandShapeOperationBuilder<'c, T0, Set, Unset, A0, A1>
pub fn output_shape( self, output_shape: &[Value<'c, '_>], ) -> ExpandShapeOperationBuilder<'c, T0, Set, Set, A0, A1>
Source§impl<'c, T0, O0, O1, A1> ExpandShapeOperationBuilder<'c, T0, O0, O1, Unset, A1>
impl<'c, T0, O0, O1, A1> ExpandShapeOperationBuilder<'c, T0, O0, O1, Unset, A1>
pub fn reassociation( self, reassociation: ArrayAttribute<'c>, ) -> ExpandShapeOperationBuilder<'c, T0, O0, O1, Set, A1>
Source§impl<'c, T0, O0, O1, A0> ExpandShapeOperationBuilder<'c, T0, O0, O1, A0, Unset>
impl<'c, T0, O0, O1, A0> ExpandShapeOperationBuilder<'c, T0, O0, O1, A0, Unset>
pub fn static_output_shape( self, static_output_shape: Attribute<'c>, ) -> ExpandShapeOperationBuilder<'c, T0, O0, O1, A0, Set>
Source§impl<'c> ExpandShapeOperationBuilder<'c, Set, Set, Set, Set, Set>
impl<'c> ExpandShapeOperationBuilder<'c, Set, Set, Set, Set, Set>
pub fn build(self) -> ExpandShapeOperation<'c>
Auto Trait Implementations§
impl<'c, T0, O0, O1, A0, A1> Freeze for ExpandShapeOperationBuilder<'c, T0, O0, O1, A0, A1>
impl<'c, T0, O0, O1, A0, A1> RefUnwindSafe for ExpandShapeOperationBuilder<'c, T0, O0, O1, A0, A1>where
T0: RefUnwindSafe,
O0: RefUnwindSafe,
O1: RefUnwindSafe,
A0: RefUnwindSafe,
A1: RefUnwindSafe,
impl<'c, T0, O0, O1, A0, A1> !Send for ExpandShapeOperationBuilder<'c, T0, O0, O1, A0, A1>
impl<'c, T0, O0, O1, A0, A1> !Sync for ExpandShapeOperationBuilder<'c, T0, O0, O1, A0, A1>
impl<'c, T0, O0, O1, A0, A1> Unpin for ExpandShapeOperationBuilder<'c, T0, O0, O1, A0, A1>
impl<'c, T0, O0, O1, A0, A1> UnwindSafe for ExpandShapeOperationBuilder<'c, T0, O0, O1, A0, A1>
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