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