pub struct ReplayEntry {
pub query: Vec<f32>,
pub positive_ids: Vec<usize>,
pub timestamp: u64,
}Expand description
A single entry in the replay buffer
Fields§
§query: Vec<f32>Query vector used for training
positive_ids: Vec<usize>IDs of positive nodes for this query
timestamp: u64Timestamp when this entry was added (milliseconds since epoch)
Implementations§
Trait Implementations§
Source§impl Clone for ReplayEntry
impl Clone for ReplayEntry
Source§fn clone(&self) -> ReplayEntry
fn clone(&self) -> ReplayEntry
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 moreAuto Trait Implementations§
impl Freeze for ReplayEntry
impl RefUnwindSafe for ReplayEntry
impl Send for ReplayEntry
impl Sync for ReplayEntry
impl Unpin for ReplayEntry
impl UnsafeUnpin for ReplayEntry
impl UnwindSafe for ReplayEntry
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