mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Fix build failure when using clang compiler
This commit is contained in:
parent
09ac7595fc
commit
ccd7a2d840
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue