mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-25 22:26:24 +00:00
fix hardcoded type (#10205)
This commit is contained in:
parent
7b5464ed7b
commit
4ab891999a
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ OrtValue create_ort_value(
|
|||
{1,},
|
||||
&ort_val);
|
||||
auto* ort_tensor = ort_val.GetMutable<onnxruntime::Tensor>();
|
||||
CopyVectorToTensor<int64_t>(invoker, &val, 1, *ort_tensor);
|
||||
CopyVectorToTensor<T>(invoker, &val, 1, *ort_tensor);
|
||||
return ort_val;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue