interpolate_aa.h 509 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once

#include <ATen/ATen.h>
#include "../macros.h"

namespace vision {
namespace ops {

VISION_API at::Tensor _interpolate_linear_aa(
    const at::Tensor& input,
    at::IntArrayRef output_size,
    bool align_corners = false);

namespace detail {

// TODO: Implement backward function
// at::Tensor _interpolate_linear_aa_backward(
//     const at::Tensor& grad,
//     at::IntArrayRef output_size,
//     bool align_corners=false);

} // namespace detail

} // namespace ops
} // namespace vision