roi_pool.h 332 Bytes
Newer Older
1
2
#pragma once

3
#include <ATen/ATen.h>
4
#include "../macros.h"
5
6
7
8

namespace vision {
namespace ops {

9
VISION_API std::tuple<at::Tensor, at::Tensor> roi_pool(
10
11
12
13
14
15
16
17
    const at::Tensor& input,
    const at::Tensor& rois,
    double spatial_scale,
    int64_t pooled_height,
    int64_t pooled_width);

} // namespace ops
} // namespace vision