MaxUnpoolKernel.h 308 B

1234567891011121314
  1. #pragma once
  2. #include <ATen/native/DispatchStub.h>
  3. namespace at {
  4. class Tensor;
  5. namespace native {
  6. using max_unpooling_fn = void(*)(Tensor&, const Tensor&, const Tensor&);
  7. DECLARE_DISPATCH(max_unpooling_fn, max_unpool2d_kernel);
  8. DECLARE_DISPATCH(max_unpooling_fn, max_unpool3d_kernel);
  9. }} // at::native