mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-26 22:35:43 +00:00
fix a hardcode type (#9337)
This commit is contained in:
parent
d5c5c4fa50
commit
f0bc35c4ba
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ at::Tensor empty__memory_format(
|
|||
auto& invoker = GetORTInvoker(*device_opt);
|
||||
CreateMLValue(
|
||||
invoker.GetCurrentExecutionProvider().GetAllocator(0, OrtMemTypeDefault),
|
||||
ort_scalar_type_from_aten(at::kFloat),
|
||||
ort_scalar_type_from_aten(*dtype_opt),
|
||||
size.vec(),
|
||||
&ot);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue