MCPcopy Create free account
hub / github.com/drinkingcoder/NeuralMarker / forward

Method forward

core/utils/transformation.py:561–564  ·  view source on GitHub ↗
(self, theta)

Source from the content-addressed store, hash-verified

559 self.P_Y = self.P_Y.cuda()
560
561 def forward(self, theta):
562 warped_grid = self.apply_transformation(theta, torch.cat((self.grid_X, self.grid_Y), 3))
563
564 return warped_grid
565
566 def compute_L_inverse(self, X, Y):
567 N = X.size()[0] # num of points (along dim 0)

Callers

nothing calls this directly

Calls 1

apply_transformationMethod · 0.95

Tested by

no test coverage detected