(self)
| 7 | |
| 8 | class Direct(nn.Module): |
| 9 | def __init__(self): |
| 10 | super(Direct, self).__init__() |
| 11 | |
| 12 | # adding this class variable is important to determine |
| 13 | # the dimension of the follow-up neural network |
| 14 | self.embedding_dim = 2 |
| 15 | |
| 16 | def forward(self, coords): |
| 17 | # place lon lat coordinates in a -pi, pi range |
nothing calls this directly
no outgoing calls
no test coverage detected