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> 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.
Auto Trait Implementations§
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