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 in the batch.

Item ids in the batch.

Timestamps in the batch.

Methods

impl<'a> TripletMinibatch<'a>
[src]

Return lenght of the minibatch.

Trait Implementations

impl<'a> Debug for TripletMinibatch<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Clone for TripletMinibatch<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a> Send for TripletMinibatch<'a>

impl<'a> Sync for TripletMinibatch<'a>