pub struct YieldOperation<'c> { /* private fields */ }Expand description
A yield operation. Yield a value from a region.
This operation is used to yield a single value from a within a region. It
is used to create dynamically sized tensors
(see tensor.generate and tensor.pad ops).
Implementations§
Trait Implementations§
Source§impl<'c> Clone for YieldOperation<'c>
impl<'c> Clone for YieldOperation<'c>
Source§fn clone(&self) -> YieldOperation<'c>
fn clone(&self) -> YieldOperation<'c>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'c> Debug for YieldOperation<'c>
impl<'c> Debug for YieldOperation<'c>
Source§impl<'b> From<YieldOperation<'b>> for TensorDialectOperation<'b>
impl<'b> From<YieldOperation<'b>> for TensorDialectOperation<'b>
Source§fn from(op: YieldOperation<'b>) -> Self
fn from(op: YieldOperation<'b>) -> Self
Converts to this type from the input type.
Source§impl<'c> From<YieldOperation<'c>> for Operation<'c>
impl<'c> From<YieldOperation<'c>> for Operation<'c>
Source§fn from(operation: YieldOperation<'c>) -> Self
fn from(operation: YieldOperation<'c>) -> Self
Converts to this type from the input type.
Source§impl<'c> PartialEq for YieldOperation<'c>
impl<'c> PartialEq for YieldOperation<'c>
Source§impl<'c> TryFrom<Operation<'c>> for YieldOperation<'c>
impl<'c> TryFrom<Operation<'c>> for YieldOperation<'c>
impl<'c> Eq for YieldOperation<'c>
impl<'c> StructuralPartialEq for YieldOperation<'c>
Auto Trait Implementations§
impl<'c> Freeze for YieldOperation<'c>
impl<'c> RefUnwindSafe for YieldOperation<'c>
impl<'c> !Send for YieldOperation<'c>
impl<'c> !Sync for YieldOperation<'c>
impl<'c> Unpin for YieldOperation<'c>
impl<'c> UnwindSafe for YieldOperation<'c>
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