#[repr(C)]pub struct TfLiteEvalTensor {
pub data: TfLitePtrUnion,
pub dims: *mut TfLiteIntArray,
pub type_: TfLiteType,
}Expand description
Light-weight tensor struct for TF Micro runtime. Provides the minimal amount of information required for a kernel to run during TfLiteRegistration::Eval.
Fields§
§data: TfLitePtrUnionA union of data pointers. The appropriate type should be used for a typed
tensor based on type.
dims: *mut TfLiteIntArrayA pointer to a structure representing the dimensionality interpretation that the buffer should have.
type_: TfLiteTypeThe data type specification for data stored in data. This affects
what member of data union should be used.
Trait Implementations§
Source§impl Clone for TfLiteEvalTensor
impl Clone for TfLiteEvalTensor
Source§fn clone(&self) -> TfLiteEvalTensor
fn clone(&self) -> TfLiteEvalTensor
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 moreimpl Copy for TfLiteEvalTensor
Auto Trait Implementations§
impl Freeze for TfLiteEvalTensor
impl RefUnwindSafe for TfLiteEvalTensor
impl !Send for TfLiteEvalTensor
impl !Sync for TfLiteEvalTensor
impl Unpin for TfLiteEvalTensor
impl UnsafeUnpin for TfLiteEvalTensor
impl UnwindSafe for TfLiteEvalTensor
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