We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b2b130 commit 63616d8Copy full SHA for 63616d8
1 file changed
sherpa-onnx/csrc/session.cc
@@ -172,7 +172,7 @@ Ort::SessionOptions GetSessionOptionsImpl(
172
}
173
174
if (config.find("ProfilingFilePrefix") != config.end()) {
175
- sess_opts.EnableProfiling(config["ProfilingFilePrefix"].c_str());
+ sess_opts.EnableProfiling(SHERPA_ONNX_TO_ORT_PATH(config["ProfilingFilePrefix"]));
176
config.erase("ProfilingFilePrefix");
177
178
0 commit comments