#[repr(C)]pub struct RKLLMMultiModelInput {
pub prompt: *mut c_char,
pub image_embed: *mut f32,
pub n_image_tokens: usize,
}
Expand description
@struct RKLLMMultiModelInput @brief Represents multimodal input (e.g., text and image).
Fields§
§prompt: *mut c_char
< Text prompt input.
image_embed: *mut f32
< Embedding of the image (of size n_image_tokens * n_image_embed).
n_image_tokens: usize
< Number of image tokens.
Trait Implementations§
Source§impl Clone for RKLLMMultiModelInput
impl Clone for RKLLMMultiModelInput
Source§fn clone(&self) -> RKLLMMultiModelInput
fn clone(&self) -> RKLLMMultiModelInput
Returns a copy 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 RKLLMMultiModelInput
impl Debug for RKLLMMultiModelInput
impl Copy for RKLLMMultiModelInput
Auto Trait Implementations§
impl Freeze for RKLLMMultiModelInput
impl RefUnwindSafe for RKLLMMultiModelInput
impl !Send for RKLLMMultiModelInput
impl !Sync for RKLLMMultiModelInput
impl Unpin for RKLLMMultiModelInput
impl UnwindSafe for RKLLMMultiModelInput
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