pub struct OpAttrMap<T> { /* private fields */ }Expand description
OpAttrMap<T> (include/tvm/ir/op.h): one live attribute column of the operator registry.
It holds the registry’s own column, so values registered later stay visible and a map can be
cached for the process like the C++ static ones. A lookup reads entry op.index without an
FFI call. The crate has no ffi.List binding, so the column is read through the
TVMFFISeqCell that ffi.List shares with ffi.Array (c_api.h).
Implementations§
Auto Trait Implementations§
impl<T> Freeze for OpAttrMap<T>
impl<T> RefUnwindSafe for OpAttrMap<T>where
T: RefUnwindSafe,
impl<T> !Send for OpAttrMap<T>
impl<T> !Sync for OpAttrMap<T>
impl<T> Unpin for OpAttrMap<T>where
T: Unpin,
impl<T> UnwindSafe for OpAttrMap<T>where
T: UnwindSafe,
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