#[repr(C)]pub struct TfLiteTensor {
pub quantization: TfLiteQuantization,
pub params: TfLiteQuantizationParams,
pub data: TfLitePtrUnion,
pub dims: *mut TfLiteIntArray,
pub bytes: usize,
pub type_: TfLiteType,
pub allocation_type: TfLiteAllocationType,
pub is_variable: bool,
}
Fields§
§quantization: TfLiteQuantization
§params: TfLiteQuantizationParams
§data: TfLitePtrUnion
§dims: *mut TfLiteIntArray
§bytes: usize
§type_: TfLiteType
§allocation_type: TfLiteAllocationType
§is_variable: bool
Trait Implementations§
Source§impl Clone for TfLiteTensor
impl Clone for TfLiteTensor
Source§fn clone(&self) -> TfLiteTensor
fn clone(&self) -> TfLiteTensor
Returns a duplicate 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 Debug for TfLiteTensor
impl Debug for TfLiteTensor
Source§impl Default for TfLiteTensor
impl Default for TfLiteTensor
impl Copy for TfLiteTensor
Auto Trait Implementations§
impl Freeze for TfLiteTensor
impl RefUnwindSafe for TfLiteTensor
impl !Send for TfLiteTensor
impl !Sync for TfLiteTensor
impl Unpin for TfLiteTensor
impl UnwindSafe for TfLiteTensor
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