#pragma once // @generated by torchgen/gen.py from NativeFunction.h #include #include #include #include #include #include #include #include #include #include namespace at { namespace native { TORCH_API at::Tensor clip(const at::Tensor & self, const c10::optional & min=c10::nullopt, const c10::optional & max=c10::nullopt); TORCH_API at::Tensor & clip_out(const at::Tensor & self, const c10::optional & min, const c10::optional & max, at::Tensor & out); TORCH_API at::Tensor & clip_(at::Tensor & self, const c10::optional & min=c10::nullopt, const c10::optional & max=c10::nullopt); TORCH_API at::Tensor clip(const at::Tensor & self, const c10::optional & min={}, const c10::optional & max={}); TORCH_API at::Tensor & clip_out(const at::Tensor & self, const c10::optional & min, const c10::optional & max, at::Tensor & out); TORCH_API at::Tensor & clip_(at::Tensor & self, const c10::optional & min={}, const c10::optional & max={}); } // namespace native } // namespace at