#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION) #pragma once // @generated by torchgen/gen.py from NativeFunction.h #include #include #include #include #include #include #include #include #include #include #include namespace at { namespace native { struct TORCH_API structured_index_out : public at::meta::structured_index_Tensor { void impl(const at::Tensor & self, at::DimVector sizes, at::DimVector strides, const at::Tensor & out); }; TORCH_API at::Tensor quantized_index(const at::Tensor & self, const c10::List<::std::optional> & indices); } // namespace native } // namespace at #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)