#[repr(C)]pub struct TensorObj { /* private fields */ }
Trait Implementations§
Source§impl ObjectCore for TensorObj
impl ObjectCore for TensorObj
fn type_index() -> i32
Source§unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
Return the object header
This function is implemented as a static function so Read more
Auto Trait Implementations§
impl !Freeze for TensorObj
impl RefUnwindSafe for TensorObj
impl !Send for TensorObj
impl !Sync for TensorObj
impl Unpin for TensorObj
impl UnwindSafe for TensorObj
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