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

Commit

Permalink
Typo fix in plan_memory relase -> release. (#15299)
Browse files Browse the repository at this point in the history
  • Loading branch information
adis300 authored and wkcn committed Jun 21, 2019
1 parent c45d23b commit 4a9e9f6
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 4a9e9f6

Please sign in to comment.