Ok so it seems that that object is a Tuple of 2 tensors. Do you want to repeat both Tensors or just one? If that have the same shape you can use torch.cat then that’ll convert your tuple to a Tensor that can then use .repeat