MCPcopy Create free account
hub / github.com/drinkingcoder/FlowFormer-Official / corr_forward

Function corr_forward

alt_cuda_corr/correlation.cpp:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
22
23std::vector<torch::Tensor> corr_forward(
24 torch::Tensor fmap1,
25 torch::Tensor fmap2,
26 torch::Tensor coords,
27 int radius) {
28 CHECK_INPUT(fmap1);
29 CHECK_INPUT(fmap2);
30 CHECK_INPUT(coords);
31
32 return corr_cuda_forward(fmap1, fmap2, coords, radius);
33}
34
35
36std::vector<torch::Tensor> corr_backward(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected