#[repr(C)]pub struct TfLiteDelegateParams {
pub delegate: *mut TfLiteDelegate,
pub nodes_to_replace: *mut TfLiteIntArray,
pub input_tensors: *mut TfLiteIntArray,
pub output_tensors: *mut TfLiteIntArray,
}Expand description
WARNING: This is an experimental interface that is subject to change.
Currently, TfLiteDelegateParams has to be allocated in a way that it’s
trivially destructable. It will be stored as builtin_data field in
TfLiteNode of the delegate node.
See also the CreateDelegateParams function in interpreter.cc details.
Fields§
§delegate: *mut TfLiteDelegate§nodes_to_replace: *mut TfLiteIntArray§input_tensors: *mut TfLiteIntArray§output_tensors: *mut TfLiteIntArrayTrait Implementations§
Source§impl Clone for TfLiteDelegateParams
impl Clone for TfLiteDelegateParams
Source§fn clone(&self) -> TfLiteDelegateParams
fn clone(&self) -> TfLiteDelegateParams
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 TfLiteDelegateParams
impl Debug for TfLiteDelegateParams
impl Copy for TfLiteDelegateParams
Auto Trait Implementations§
impl Freeze for TfLiteDelegateParams
impl RefUnwindSafe for TfLiteDelegateParams
impl !Send for TfLiteDelegateParams
impl !Sync for TfLiteDelegateParams
impl Unpin for TfLiteDelegateParams
impl UnsafeUnpin for TfLiteDelegateParams
impl UnwindSafe for TfLiteDelegateParams
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