pub struct Pad(/* private fields */);
Implementations§
Source§impl Pad
impl Pad
pub fn new( t: &RankedTensor, source: &Value, values_low: &[Value], values_high: &[Value], static_low: &StaticLow, static_high: &StaticHigh, no_fold: Option<NoFold>, 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_result(&self) -> Value
pub fn get_static_high(&self) -> StaticHigh
pub fn get_static_low(&self) -> StaticLow
pub fn is_no_fold(&self) -> bool
Trait Implementations§
Source§impl IOperation for Pad
impl IOperation for Pad
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 Pad
impl RefUnwindSafe for Pad
impl !Send for Pad
impl !Sync for Pad
impl Unpin for Pad
impl UnwindSafe for Pad
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