pub struct MinShapeOperation<'c> { /* private fields */ }Expand description
A min_shape operation. Elementwise minimum of shapes..
Elementwise minimum of input1 and input2.
Implementations§
Source§impl<'c> MinShapeOperation<'c>
impl<'c> MinShapeOperation<'c>
Sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
Sourcepub fn builder(
context: &'c Context,
location: Location<'c>,
) -> MinShapeOperationBuilder<'c, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c>, ) -> MinShapeOperationBuilder<'c, Unset, Unset, Unset>
Creates a builder.
pub fn output(&self) -> Result<OperationResult<'c, '_>, Error>
pub fn input_1(&self) -> Result<Value<'c, '_>, Error>
pub fn input_2(&self) -> Result<Value<'c, '_>, Error>
Trait Implementations§
Source§impl<'c> Clone for MinShapeOperation<'c>
impl<'c> Clone for MinShapeOperation<'c>
Source§fn clone(&self) -> MinShapeOperation<'c>
fn clone(&self) -> MinShapeOperation<'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 MinShapeOperation<'c>
impl<'c> Debug for MinShapeOperation<'c>
Source§impl<'b> From<MinShapeOperation<'b>> for TosaDialectOperation<'b>
impl<'b> From<MinShapeOperation<'b>> for TosaDialectOperation<'b>
Source§fn from(op: MinShapeOperation<'b>) -> Self
fn from(op: MinShapeOperation<'b>) -> Self
Converts to this type from the input type.
Source§impl<'c> From<MinShapeOperation<'c>> for Operation<'c>
impl<'c> From<MinShapeOperation<'c>> for Operation<'c>
Source§fn from(operation: MinShapeOperation<'c>) -> Self
fn from(operation: MinShapeOperation<'c>) -> Self
Converts to this type from the input type.
Source§impl<'c> PartialEq for MinShapeOperation<'c>
impl<'c> PartialEq for MinShapeOperation<'c>
Source§impl<'c> TryFrom<Operation<'c>> for MinShapeOperation<'c>
impl<'c> TryFrom<Operation<'c>> for MinShapeOperation<'c>
impl<'c> Eq for MinShapeOperation<'c>
impl<'c> StructuralPartialEq for MinShapeOperation<'c>
Auto Trait Implementations§
impl<'c> Freeze for MinShapeOperation<'c>
impl<'c> RefUnwindSafe for MinShapeOperation<'c>
impl<'c> !Send for MinShapeOperation<'c>
impl<'c> !Sync for MinShapeOperation<'c>
impl<'c> Unpin for MinShapeOperation<'c>
impl<'c> UnwindSafe for MinShapeOperation<'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