AutoRec: Rating Prediction with Autoencoders

https://d2l.ai/chapter_recommender-systems/autorec.html

shouldn’t this code:
test_iter = gluon.data.DataLoader(np.array(train_inter_mat), shuffle=False,
last_batch=“keep”, batch_size=1024,
num_workers=d2l.get_dataloader_workers())
be like
test_iter = gluon.data.DataLoader(np.array(test_inter_mat), shuffle=False,
last_batch=“keep”, batch_size=1024,
num_workers=d2l.get_dataloader_workers())

I think the example is the user-based AutoRec, not item-basd as mentioned:

" For brevity, here we only introduce the item-based AutoRec."