Histogram.h 500 B

1234567891011121314
  1. #pragma once
  2. #include <ATen/core/Tensor.h>
  3. #include <ATen/native/DispatchStub.h>
  4. namespace at { namespace native {
  5. using histogramdd_fn = void(*)(const Tensor&, const c10::optional<Tensor>&, bool, Tensor&, const TensorList&);
  6. using histogramdd_linear_fn = void(*)(const Tensor&, const c10::optional<Tensor>&, bool, Tensor&, const TensorList&, bool);
  7. DECLARE_DISPATCH(histogramdd_fn, histogramdd_stub);
  8. DECLARE_DISPATCH(histogramdd_linear_fn, histogramdd_linear_stub);
  9. }} // namespace at::native