#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::_unsafe_index.Tensor(Tensor self, Tensor?[] indices) -> Tensor inline at::Tensor _unsafe_index(const at::Tensor & self, const c10::List<::std::optional> & indices) { return at::_ops::_unsafe_index_Tensor::call(self, indices); } } #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)