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

Function corr_backward

alt_cuda_corr/correlation.cpp:36–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36std::vector<torch::Tensor> corr_backward(
37 torch::Tensor fmap1,
38 torch::Tensor fmap2,
39 torch::Tensor coords,
40 torch::Tensor corr_grad,
41 int radius) {
42 CHECK_INPUT(fmap1);
43 CHECK_INPUT(fmap2);
44 CHECK_INPUT(coords);
45 CHECK_INPUT(corr_grad);
46
47 return corr_cuda_backward(fmap1, fmap2, coords, corr_grad, radius);
48}
49
50
51PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected