#pragma once // @generated by torchgen/gen.py from Function.h #include #include #include #include #include #include #include #include #include #include #include #include #include namespace at { // aten::clamp(Tensor self, Scalar? min=None, Scalar? max=None) -> Tensor inline at::Tensor clamp(const at::Tensor & self, const c10::optional & min, const c10::optional & max=c10::nullopt) { return at::_ops::clamp::call(self, min, max); } // aten::clamp.Tensor(Tensor self, Tensor? min=None, Tensor? max=None) -> Tensor inline at::Tensor clamp(const at::Tensor & self, const c10::optional & min={}, const c10::optional & max={}) { return at::_ops::clamp_Tensor::call(self, min, max); } // aten::clamp_(Tensor(a!) self, Scalar? min=None, Scalar? max=None) -> Tensor(a!) inline at::Tensor & clamp_(at::Tensor & self, const c10::optional & min, const c10::optional & max=c10::nullopt) { return at::_ops::clamp_::call(self, min, max); } // aten::clamp_.Tensor(Tensor(a!) self, Tensor? min=None, Tensor? max=None) -> Tensor(a!) inline at::Tensor & clamp_(at::Tensor & self, const c10::optional & min={}, const c10::optional & max={}) { return at::_ops::clamp__Tensor::call(self, min, max); } // aten::clamp.out(Tensor self, Scalar? min=None, Scalar? max=None, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & clamp_out(at::Tensor & out, const at::Tensor & self, const c10::optional & min, const c10::optional & max=c10::nullopt) { return at::_ops::clamp_out::call(self, min, max, out); } // aten::clamp.out(Tensor self, Scalar? min=None, Scalar? max=None, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & clamp_outf(const at::Tensor & self, const c10::optional & min, const c10::optional & max, at::Tensor & out) { return at::_ops::clamp_out::call(self, min, max, out); } // aten::clamp.Tensor_out(Tensor self, Tensor? min=None, Tensor? max=None, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & clamp_out(at::Tensor & out, const at::Tensor & self, const c10::optional & min={}, const c10::optional & max={}) { return at::_ops::clamp_Tensor_out::call(self, min, max, out); } // aten::clamp.Tensor_out(Tensor self, Tensor? min=None, Tensor? max=None, *, Tensor(a!) out) -> Tensor(a!) inline at::Tensor & clamp_outf(const at::Tensor & self, const c10::optional & min, const c10::optional & max, at::Tensor & out) { return at::_ops::clamp_Tensor_out::call(self, min, max, out); } }