diff --git a/orttraining/orttraining/eager/ort_ops.cpp b/orttraining/orttraining/eager/ort_ops.cpp index 07a8de9d7f..d18c8958e3 100644 --- a/orttraining/orttraining/eager/ort_ops.cpp +++ b/orttraining/orttraining/eager/ort_ops.cpp @@ -31,7 +31,10 @@ void createInplaceOutputValue(OrtValue& input, V shape, OrtValue* p_mlv } template void createInplaceOutputValue(OrtValue& input, c10::ArrayRef shape, OrtValue* p_mlvalue); -template void createInplaceOutputValue(OrtValue& input, std::vector shape, OrtValue* p_mlvalue); + +template +using Vector = std::vector>; +template void createInplaceOutputValue(OrtValue& input, Vector shape, OrtValue* p_mlvalue); } // namespace eager } // namespace torch_ort