recbole.data.dataloader.context_dataloader

class recbole.data.dataloader.context_dataloader.ContextDataLoader(config, dataset, batch_size=1, dl_format=<InputType.POINTWISE: 1>, shuffle=False)[source]

Bases: recbole.data.dataloader.general_dataloader.GeneralDataLoader

ContextDataLoader is inherit from GeneralDataLoader, and didn’t add/change anything at all.

class recbole.data.dataloader.context_dataloader.ContextNegSampleDataLoader(config, dataset, sampler, neg_sample_args, batch_size=1, dl_format=<InputType.POINTWISE: 1>, shuffle=False)[source]

Bases: recbole.data.dataloader.general_dataloader.GeneralNegSampleDataLoader

ContextNegSampleDataLoader is inherit from GeneralNegSampleDataLoader, and didn’t add/change anything at all.