Struct sbr::data::TripletMinibatch [−][src]
pub struct TripletMinibatch<'a> { pub user_ids: &'a [UserId], pub item_ids: &'a [ItemId], pub timestamps: &'a [Timestamp], }
A minibatch of triplet interactions.
Fields
user_ids: &'a [UserId]
User ids in the batch.
item_ids: &'a [ItemId]
Item ids in the batch.
timestamps: &'a [Timestamp]
Timestamps in the batch.
Methods
impl<'a> TripletMinibatch<'a>
[src]
impl<'a> TripletMinibatch<'a>
Trait Implementations
impl<'a> Debug for TripletMinibatch<'a>
[src]
impl<'a> Debug for TripletMinibatch<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Clone for TripletMinibatch<'a>
[src]
impl<'a> Clone for TripletMinibatch<'a>
fn clone(&self) -> TripletMinibatch<'a>
[src]
fn clone(&self) -> TripletMinibatch<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<'a> Send for TripletMinibatch<'a>
impl<'a> Send for TripletMinibatch<'a>
impl<'a> Sync for TripletMinibatch<'a>
impl<'a> Sync for TripletMinibatch<'a>