#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION) #pragma once // @generated by torchgen/gen.py from Function.h #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace at { // aten::_cast_Half(Tensor self, bool non_blocking=False) -> Tensor inline at::Tensor _cast_Half(const at::Tensor & self, bool non_blocking=false) { return at::_ops::_cast_Half::call(self, non_blocking); } } #else #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined." #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)