Fix build failure when using clang compiler

This commit is contained in:
Pallavi Deshmukh 2022-02-16 13:07:02 -08:00 committed by Changming Sun
parent 09ac7595fc
commit ccd7a2d840

View file

@ -31,7 +31,10 @@ void createInplaceOutputValue(OrtValue& input, V<int64_t> shape, OrtValue* p_mlv
}
template void createInplaceOutputValue<c10::ArrayRef>(OrtValue& input, c10::ArrayRef<int64_t> shape, OrtValue* p_mlvalue);
template void createInplaceOutputValue<std::vector>(OrtValue& input, std::vector<int64_t> shape, OrtValue* p_mlvalue);
template <typename T>
using Vector = std::vector<T, std::allocator<T>>;
template void createInplaceOutputValue<Vector>(OrtValue& input, Vector<int64_t> shape, OrtValue* p_mlvalue);
} // namespace eager
} // namespace torch_ort