FunctionOfAMatrixUtils.h 389 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <ATen/native/DispatchStub.h>
  3. #include <cstdint>
  4. namespace at {
  5. struct TensorIterator;
  6. namespace native {
  7. using _compute_linear_combination_fn = void(*)(
  8. TensorIterator& iter,
  9. int64_t in_stride,
  10. int64_t coeff_stride,
  11. int64_t num_summations
  12. );
  13. DECLARE_DISPATCH(_compute_linear_combination_fn, _compute_linear_combination_stub);
  14. }} // namespace at::native