# How to Randomly Multiply Tensor by Matrix in the Dataloader?

For a point cloud, I can randomly translate it by multiplying it by a 3x3 rotational matrix. Here is my get item function in my Dataloader class:

``````	def __getitem__(self, index):
current = self.mesh_paths[index]
#print("./mesh/"+current)