mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:23:06 +00:00
19 lines
606 B
Diff
19 lines
606 B
Diff
diff --git a/src/cpp/synthesize.hpp b/src/cpp/synthesize.hpp
|
|
index ef61aef..4c7db7a 100644
|
|
--- a/synthesize.hpp
|
|
+++ b/synthesize.hpp
|
|
@@ -119,11 +119,11 @@ void synthesize(SynthesisConfig &synthesisConfig, ModelSession &session,
|
|
|
|
// Clean up
|
|
for (size_t i = 0; i < outputTensors.size(); i++) {
|
|
- Ort::OrtRelease(outputTensors[i].release());
|
|
+ Ort::detail::OrtRelease(outputTensors[i].release());
|
|
}
|
|
|
|
for (size_t i = 0; i < inputTensors.size(); i++) {
|
|
- Ort::OrtRelease(inputTensors[i].release());
|
|
+ Ort::detail::OrtRelease(inputTensors[i].release());
|
|
}
|
|
}
|
|
} // namespace larynx
|