#[repr(C)]pub struct TensorT {
pub shape: vector,
pub type_: TensorType,
pub buffer: u32,
pub name: string,
pub quantization: unique_ptr,
pub is_variable: bool,
pub sparsity: unique_ptr,
pub shape_signature: vector,
pub has_rank: bool,
pub variant_tensors: vector,
}Fields§
§shape: vector§type_: TensorType§buffer: u32§name: string§quantization: unique_ptr§is_variable: bool§sparsity: unique_ptr§shape_signature: vector§has_rank: bool§variant_tensors: vectorTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TensorT
impl !Send for TensorT
impl !Sync for TensorT
impl Freeze for TensorT
impl Unpin for TensorT
impl UnsafeUnpin for TensorT
impl UnwindSafe for TensorT
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