:param mapnet: the MapNet (two CNN blocks inside the green block in Fig. 2 of paper). Not to be confused with MapNet, the model!
(self, mapnet)
| 304 | Implements the MapNet model (green block in Fig. 2 of paper) |
| 305 | """ |
| 306 | def __init__(self, mapnet): |
| 307 | """ |
| 308 | :param mapnet: the MapNet (two CNN blocks inside the green block in Fig. 2 |
| 309 | of paper). Not to be confused with MapNet, the model! |
| 310 | """ |
| 311 | super(MapNet, self).__init__() |
| 312 | self.mapnet = mapnet |
| 313 | |
| 314 | def forward(self, x): |
| 315 | """ |