DL-Art-School/codes/models/layers/resample2d_package/resample2d_kernel.cuh

19 lines
391 B
Plaintext
Raw Normal View History

2020-09-19 16:07:00 +00:00
#pragma once
#include <ATen/ATen.h>
void resample2d_kernel_forward(
at::Tensor& input1,
at::Tensor& input2,
at::Tensor& output,
int kernel_size,
bool bilinear);
void resample2d_kernel_backward(
at::Tensor& input1,
at::Tensor& input2,
at::Tensor& gradOutput,
at::Tensor& gradInput1,
at::Tensor& gradInput2,
int kernel_size,
bool bilinear);