pub struct ExtractSlice(/* private fields */);
Implementations§
Source§impl ExtractSlice
impl ExtractSlice
pub fn new( t: &RankedTensor, source: &Value, offsets: &[Value], sizes: &[Value], strides: &[Value], static_offsets: &StaticOffsets, static_sizes: &StaticSizes, static_strides: &StaticStrides, 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_offsets(&self) -> StaticOffsets
pub fn get_static_sizes(&self) -> StaticSizes
pub fn get_static_strides(&self) -> StaticStrides
Trait Implementations§
Source§impl Clone for ExtractSlice
impl Clone for ExtractSlice
Source§fn clone(&self) -> ExtractSlice
fn clone(&self) -> ExtractSlice
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 ExtractSlice
impl IOperation for ExtractSlice
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 ExtractSlice
impl RefUnwindSafe for ExtractSlice
impl !Send for ExtractSlice
impl !Sync for ExtractSlice
impl Unpin for ExtractSlice
impl UnwindSafe for ExtractSlice
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