Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
mmcv / ops / csrc / parrots / tin_shift_pytorch.h
Size: Mime:
// Copyright (c) OpenMMLab. All rights reserved
#ifndef TIN_SHIFT_PYTORCH_H
#define TIN_SHIFT_PYTORCH_H
#include <torch/extension.h>
using namespace at;

void tin_shift_forward_cuda(Tensor input, Tensor shift, Tensor output);

void tin_shift_backward_cuda(Tensor grad_output, Tensor shift,
                             Tensor grad_input);
#endif  // TIN_SHIFT_PYTORCH_H