(self, repeats)
| 121 | : repeats: int, the number of repetitions for the vector. |
| 122 | """ |
| 123 | def __init__(self, repeats): |
| 124 | super(RepeatVector, self).__init__() |
| 125 | self.repeats = repeats |
| 126 | |
| 127 | def forward(self, x): |
| 128 | x = x.unsqueeze(-1).repeat(1, 1, self.repeats) # <------------ Mejorar? |