pub struct Matmul(/* private fields */);
Implementations§
Source§impl Matmul
impl Matmul
pub fn new_memref( context: &Context, lhs: &Value, rhs: &Value, output: &Value, index_maps: Option<&IndexingMaps>, cast_kind: Option<CastKind>, loc: &Location, ) -> Self
pub fn new_tensor( t: &RankedTensor, lhs: &Value, rhs: &Value, output: &Value, index_maps: Option<&IndexingMaps>, cast_kind: Option<CastKind>, loc: &Location, ) -> Self
pub fn get(&self) -> &MlirOperation
pub fn get_cast(&self) -> Cast
pub fn get_default_indexing_maps(context: &Context) -> IndexingMaps
pub fn get_indexing_maps(&self) -> IndexingMaps
pub fn get_mut(&mut self) -> &mut MlirOperation
pub fn get_result(&self) -> Value
Trait Implementations§
Source§impl ElementwiseBinaryOperation for Matmul
impl ElementwiseBinaryOperation for Matmul
fn __new_body(t: &Type, op_parent: &mut Operation, loc: &Location) -> Self
fn __new_memref( op: &'static Op, context: &Context, lhs: &Value, rhs: &Value, output: &Value, loc: &Location, ) -> Self
fn __new_tensor( op: &'static Op, t: &RankedTensor, lhs: &Value, rhs: &Value, output: &Value, loc: &Location, ) -> Self
Source§impl ElementwiseCheckResult for Matmul
impl ElementwiseCheckResult for Matmul
fn __check_result(op: &'static Op, t: &RankedTensor, t_out: &Type)
Source§impl ElementwiseOperation for Matmul
impl ElementwiseOperation for Matmul
fn get_result(&self) -> Option<Value>
Source§impl From<MlirOperation> for Matmul
impl From<MlirOperation> for Matmul
Source§fn from(op: MlirOperation) -> Self
fn from(op: MlirOperation) -> Self
Converts to this type from the input type.
Source§impl IOperation for Matmul
impl IOperation for Matmul
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 Matmul
impl RefUnwindSafe for Matmul
impl !Send for Matmul
impl !Sync for Matmul
impl Unpin for Matmul
impl UnwindSafe for Matmul
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