Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ngraph_bridge/ngraph_encapsulate_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ class NGraphEncapsulateOp : public OpKernel {
}

#endif
m_ng_exec_input_cache_map.clear();
m_ng_exec_output_cache_map.clear();
m_ng_exec_map.clear();
m_ng_function_map.clear();

// Release the backend
NGRAPH_VLOG(2) << "~NGraphEncapsulateOp():: ReleaseBackend";
Expand Down