1234567891011121314151617181920212223242526 |
- #pragma once
- // @generated by torchgen/gen.py from NativeFunction.h
- #include <c10/core/Scalar.h>
- #include <c10/core/Storage.h>
- #include <c10/core/TensorOptions.h>
- #include <c10/util/Deprecated.h>
- #include <c10/util/Optional.h>
- #include <c10/core/QScheme.h>
- #include <ATen/core/Reduction.h>
- #include <ATen/core/Tensor.h>
- #include <tuple>
- #include <vector>
- #include <ATen/ops/leaky_relu_meta.h>
- namespace at {
- namespace native {
- struct TORCH_API structured_leaky_relu_out : public at::meta::structured_leaky_relu {
- void impl(const at::Tensor & self, const at::Scalar & negative_slope, const at::Tensor & out);
- };
- TORCH_API at::Tensor leaky_relu_quantized_cpu(const at::Tensor & self, const at::Scalar & negative_slope=0.01);
- TORCH_API at::Tensor & leaky_relu_out_quantized_cpu(const at::Tensor & self, const at::Scalar & negative_slope, at::Tensor & out);
- TORCH_API at::Tensor & leaky_relu_quantized_cpu_(at::Tensor & self, const at::Scalar & negative_slope=0.01);
- } // namespace native
- } // namespace at
|