MCPcopy Create free account
hub / github.com/alexklwong/mondi-python / grid_sample

Function grid_sample

src/loss_utils.py:484–517  ·  view source on GitHub ↗

Samples the image at x, y locations to target x, y locations Arg(s): image : torch.Tensor[float32] N x 3 x H x W RGB image target_xy : torch.Tensor[float32] N x 2 x H x W target x, y locations in image space shape : list[int] shap

(image, target_xy, shape, padding_mode='border')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

rigid_warpFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected