mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Deref unique pointer for session_state
This commit is contained in:
parent
a591d15c2f
commit
3429b0f556
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class InferenceSessionProtectedLoadAccessor : public onnxruntime::InferenceSessi
|
|||
return onnxruntime::InferenceSession::Load(std::move(p_model_proto));
|
||||
}
|
||||
const onnxruntime::SessionState& GetSessionState() {
|
||||
return session_state_;
|
||||
return *session_state_;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue