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

Commit

Permalink
Merge pull request #279 from Wenzhao-Xiang/mergeModel
Browse files Browse the repository at this point in the history
[Image classification Sample] Update utils.deleteAll():Only used for webml-polyfill
  • Loading branch information
ibelem committed Oct 29, 2018
2 parents ccfcf03 + d2cc8af commit 6fc19ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/image_classification_tflite/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ class Utils {
}

deleteAll() {
this.model._compilation._preparedModel._deleteAll();
if (this.model._backend != 'WebML') {
this.model._compilation._preparedModel._deleteAll();
}
}
}

0 comments on commit 6fc19ec

Please sign in to comment.