divide_native.h 1.5 KB

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. // @generated by torchgen/gen.py from NativeFunction.h
  3. #include <c10/core/Scalar.h>
  4. #include <c10/core/Storage.h>
  5. #include <c10/core/TensorOptions.h>
  6. #include <c10/util/Deprecated.h>
  7. #include <c10/util/Optional.h>
  8. #include <c10/core/QScheme.h>
  9. #include <ATen/core/Reduction.h>
  10. #include <ATen/core/Tensor.h>
  11. #include <tuple>
  12. #include <vector>
  13. namespace at {
  14. namespace native {
  15. TORCH_API at::Tensor divide(const at::Tensor & self, const at::Tensor & other);
  16. TORCH_API at::Tensor & divide_out(const at::Tensor & self, const at::Tensor & other, at::Tensor & out);
  17. TORCH_API at::Tensor & divide_(at::Tensor & self, const at::Tensor & other);
  18. TORCH_API at::Tensor divide(const at::Tensor & self, const at::Scalar & other);
  19. TORCH_API at::Tensor & divide_(at::Tensor & self, const at::Scalar & other);
  20. TORCH_API at::Tensor divide(const at::Tensor & self, const at::Tensor & other, c10::optional<c10::string_view> rounding_mode);
  21. TORCH_API at::Tensor & divide_out(const at::Tensor & self, const at::Tensor & other, c10::optional<c10::string_view> rounding_mode, at::Tensor & out);
  22. TORCH_API at::Tensor & divide_(at::Tensor & self, const at::Tensor & other, c10::optional<c10::string_view> rounding_mode);
  23. TORCH_API at::Tensor divide(const at::Tensor & self, const at::Scalar & other, c10::optional<c10::string_view> rounding_mode);
  24. TORCH_API at::Tensor & divide_(at::Tensor & self, const at::Scalar & other, c10::optional<c10::string_view> rounding_mode);
  25. } // namespace native
  26. } // namespace at