mul_native.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. #include <ATen/ops/mul_meta.h>
  14. namespace at {
  15. namespace native {
  16. struct TORCH_API structured_mul_out : public at::meta::structured_mul_Tensor {
  17. void impl(const at::Tensor & self, const at::Tensor & other, const at::Tensor & out);
  18. };
  19. TORCH_API at::Tensor NestedTensor_mul_Tensor(const at::Tensor & self, const at::Tensor & other);
  20. TORCH_API at::Tensor & NestedTensor_mul__Tensor(at::Tensor & self, const at::Tensor & other);
  21. TORCH_API at::Tensor mul_sparse(const at::Tensor & self, const at::Tensor & other);
  22. TORCH_API at::Tensor & mul_out_sparse_cpu(const at::Tensor & self, const at::Tensor & other, at::Tensor & out);
  23. TORCH_API at::Tensor & mul_sparse_(at::Tensor & self, const at::Tensor & other);
  24. TORCH_API at::Tensor & mul_out_sparse_cuda(const at::Tensor & self, const at::Tensor & other, at::Tensor & out);
  25. TORCH_API at::Tensor mul_sparse_csr(const at::Tensor & self, const at::Tensor & other);
  26. TORCH_API at::Tensor & mul_out_sparse_csr(const at::Tensor & self, const at::Tensor & other, at::Tensor & out);
  27. TORCH_API at::Tensor & mul_sparse_csr_(at::Tensor & self, const at::Tensor & other);
  28. TORCH_API at::Tensor mkldnn_mul(const at::Tensor & self, const at::Tensor & other);
  29. TORCH_API at::Tensor & mkldnn_mul_out(const at::Tensor & self, const at::Tensor & other, at::Tensor & out);
  30. TORCH_API at::Tensor & mkldnn_mul_(at::Tensor & self, const at::Tensor & other);
  31. TORCH_API at::Tensor mul_zerotensor(const at::Tensor & self, const at::Tensor & other);
  32. TORCH_API at::Tensor mul(const at::Tensor & self, const at::Scalar & other);
  33. TORCH_API at::Tensor & mul_Scalar_out(const at::Tensor & self, const at::Scalar & other, at::Tensor & out);
  34. TORCH_API at::Tensor & mul_(at::Tensor & self, const at::Scalar & other);
  35. TORCH_API at::Tensor NestedTensor_mul_Scalar(const at::Tensor & self, const at::Scalar & other);
  36. TORCH_API at::Tensor & NestedTensor_mul__Scalar(at::Tensor & self, const at::Scalar & other);
  37. TORCH_API at::Tensor mul_scalar_sparse_csr(const at::Tensor & self, const at::Scalar & other);
  38. TORCH_API at::Tensor & mul__scalar_sparse_csr(at::Tensor & self, const at::Scalar & other);
  39. } // namespace native
  40. } // namespace at