pub struct ExpandShape(/* private fields */);
Implementations§
Source§impl ExpandShape
impl ExpandShape
pub fn new( t: &RankedTensor, source: &Value, shape: &[Value], reassoc: &Reassociation, static_shape: &StaticOutputShape, 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
pub fn get_static_output_shape(&self) -> StaticOutputShape
Trait Implementations§
Source§impl Clone for ExpandShape
impl Clone for ExpandShape
Source§fn clone(&self) -> ExpandShape
fn clone(&self) -> ExpandShape
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 ExpandShape
impl IOperation for ExpandShape
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 ExpandShape
impl RefUnwindSafe for ExpandShape
impl !Send for ExpandShape
impl !Sync for ExpandShape
impl Unpin for ExpandShape
impl UnwindSafe for ExpandShape
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