pub struct Reciprocal(/* private fields */);
Implementations§
Source§impl Reciprocal
impl Reciprocal
pub fn new_memref( context: &Context, input: &Value, output: &Value, loc: &Location, ) -> Self
pub fn new_tensor( t: &RankedTensor, input: &Value, output: &Value, loc: &Location, ) -> Self
pub fn get(&self) -> &MlirOperation
pub fn get_mut(&mut self) -> &mut MlirOperation
Trait Implementations§
Source§impl Clone for Reciprocal
impl Clone for Reciprocal
Source§fn clone(&self) -> Reciprocal
fn clone(&self) -> Reciprocal
Returns a copy 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 ElementwiseCheckResult for Reciprocal
impl ElementwiseCheckResult for Reciprocal
fn __check_result(op: &'static Op, t: &RankedTensor, t_out: &Type)
Source§impl ElementwiseOperation for Reciprocal
impl ElementwiseOperation for Reciprocal
fn get_result(&self) -> Option<Value>
Source§impl ElementwiseUnaryOperation for Reciprocal
impl ElementwiseUnaryOperation for Reciprocal
fn __new_body(t: &Type, op_parent: &mut Operation, loc: &Location) -> Self
fn __new_memref( op: &'static Op, context: &Context, input: &Value, output: &Value, loc: &Location, ) -> Self
fn __new_tensor( op: &'static Op, t: &RankedTensor, input: &Value, output: &Value, loc: &Location, ) -> Self
Source§impl From<MlirOperation> for Reciprocal
impl From<MlirOperation> for Reciprocal
Source§fn from(op: MlirOperation) -> Self
fn from(op: MlirOperation) -> Self
Converts to this type from the input type.
Source§impl IOperation for Reciprocal
impl IOperation for Reciprocal
fn get(&self) -> &MlirOperation
fn get_dialect(&self) -> Dialect
fn get_effects(&self) -> MemoryEffectList
fn get_interfaces(&self) -> &'static [Interface]
fn get_mut(&mut self) -> &mut MlirOperation
fn get_name(&self) -> &'static str
fn get_op(&self) -> OpRef
fn get_traits(&self) -> &'static [Trait]
fn as_operation(&self) -> Operation ⓘ
Auto Trait Implementations§
impl Freeze for Reciprocal
impl RefUnwindSafe for Reciprocal
impl !Send for Reciprocal
impl !Sync for Reciprocal
impl Unpin for Reciprocal
impl UnwindSafe for Reciprocal
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