Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Typo fix in plan_memory relase -> release. #15299

Merged
merged 1 commit into from
Jun 21, 2019
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
2 changes: 1 addition & 1 deletion src/nnvm/plan_memory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ size_t AllocMemory(const Graph& ret, const IndexedGraph& idx,
auto sid = storage[eid];
// storage_ref_count == 0 means it is taken by inplace op
if (sid < 0) continue;
// if we decrease it to zero, means we are ready to relase
// if we decrease it to zero, means we are ready to release
--storage_ref_count[sid];
if (storage_ref_count[sid] == 0) {
allocator->Release(sid, nid);
Expand Down