#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION) #pragma once #include template struct UpsampleParams { ::c10::metal::array input_strides; ::c10::metal::array input_sizes; ::c10::metal::array output_strides; ::c10::metal::array output_sizes; ::c10::metal::array scales; bool align_corners; }; #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)