#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION) #pragma once #include template struct EmbeddingDenseBackwardParams { ::c10::metal::array outer_sizes; ::c10::metal::array grad_outer_strides; ::c10::metal::array indices_strides; idx_type_t grad_feature_stride; idx_type_t outer_ndim; idx_type_t feature_size; int64_t padding_idx; bool scale_grad_by_freq; }; #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)