pub struct StaticOutputShape(/* private fields */);
Implementations§
Source§impl StaticOutputShape
impl StaticOutputShape
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
pub fn num_dynamic_dims(&self) -> isize
pub fn num_static_dims(&self) -> isize
Trait Implementations§
Source§impl Clone for StaticOutputShape
impl Clone for StaticOutputShape
Source§fn clone(&self) -> StaticOutputShape
fn clone(&self) -> StaticOutputShape
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 From<MlirAttribute> for StaticOutputShape
impl From<MlirAttribute> for StaticOutputShape
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for StaticOutputShape
impl IAttribute for StaticOutputShape
fn get(&self) -> &MlirAttribute
fn get_mut(&mut self) -> &mut MlirAttribute
fn as_attribute(&self) -> Attribute
fn get_context(&self) -> Context
fn get_type(&self) -> Type
Source§impl IAttributeNamed for StaticOutputShape
impl IAttributeNamed for StaticOutputShape
Source§impl NamedI64DenseArray for StaticOutputShape
impl NamedI64DenseArray for StaticOutputShape
fn new(context: &Context, values: &[i64]) -> Self
fn from_checked(attr: MlirAttribute) -> Self
fn as_dense_array(&self) -> DenseArray
fn num_elements(&self) -> isize
Auto Trait Implementations§
impl Freeze for StaticOutputShape
impl RefUnwindSafe for StaticOutputShape
impl !Send for StaticOutputShape
impl !Sync for StaticOutputShape
impl Unpin for StaticOutputShape
impl UnwindSafe for StaticOutputShape
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