#[repr(C)]pub struct Tensor {
pub data: *const f32,
pub data_size: c_ulong,
pub dimensions: *const c_uint,
pub dimensions_size: c_uint,
}
Fields§
§data: *const f32
§data_size: c_ulong
§dimensions: *const c_uint
§dimensions_size: c_uint
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tensor
impl RefUnwindSafe for Tensor
impl !Send for Tensor
impl !Sync for Tensor
impl Unpin for Tensor
impl UnwindSafe for Tensor
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