tanh_native.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  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/tanh_meta.h>
  14. namespace at {
  15. namespace native {
  16. struct TORCH_API structured_tanh_out : public at::meta::structured_tanh {
  17. void impl(const at::Tensor & self, const at::Tensor & out);
  18. };
  19. TORCH_API at::Tensor NestedTensor_tanh(const at::Tensor & self);
  20. TORCH_API at::Tensor & NestedTensor_tanh_(at::Tensor & self);
  21. TORCH_API at::Tensor tanh_sparse(const at::Tensor & self);
  22. TORCH_API at::Tensor & tanh_sparse_out(const at::Tensor & self, at::Tensor & out);
  23. TORCH_API at::Tensor & tanh_sparse_(at::Tensor & self);
  24. TORCH_API at::Tensor tanh_sparse_csr(const at::Tensor & self);
  25. TORCH_API at::Tensor & tanh_sparse_csr_out(const at::Tensor & self, at::Tensor & out);
  26. TORCH_API at::Tensor & tanh_sparse_csr_(at::Tensor & self);
  27. TORCH_API at::Tensor mkldnn_tanh(const at::Tensor & self);
  28. TORCH_API at::Tensor & mkldnn_tanh_(at::Tensor & self);
  29. TORCH_API at::Tensor tanh_quantized_cpu(const at::Tensor & self);
  30. } // namespace native
  31. } // namespace at