pub struct CollapseShape(/* private fields */);
Implementations§
Source§impl CollapseShape
impl CollapseShape
pub fn new( t: &RankedTensor, value: &Value, reassoc: &Reassociation, loc: &Location, ) -> Self
pub fn from(op: MlirOperation) -> Self
pub fn get(&self) -> &MlirOperation
pub fn get_mut(&mut self) -> &mut MlirOperation
pub fn get_reassociation(&self) -> Reassociation
pub fn get_result(&self) -> Value
Trait Implementations§
Source§impl Clone for CollapseShape
impl Clone for CollapseShape
Source§fn clone(&self) -> CollapseShape
fn clone(&self) -> CollapseShape
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 IOperation for CollapseShape
impl IOperation for CollapseShape
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 CollapseShape
impl RefUnwindSafe for CollapseShape
impl !Send for CollapseShape
impl !Sync for CollapseShape
impl Unpin for CollapseShape
impl UnwindSafe for CollapseShape
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