Fix a bug in SessionState

This commit is contained in:
Changming Sun 2019-02-06 11:57:14 -08:00
parent c932ab8e99
commit 405c4bacbc

View file

@ -192,7 +192,7 @@ class SessionState {
std::map<OrtAllocatorInfo, BufferUniquePtr> weights_buffers_;
std::unique_ptr<SequentialExecutionPlan> p_seq_exec_plan_ = nullptr;
const logging::Logger* logger_;
const logging::Logger* logger_ = nullptr;
profiling::Profiler* profiler_;
// switch for enable memory pattern optimization or not.