Skip to content

Commit

Permalink
Update torchscript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Nov 26, 2019
1 parent 32aca70 commit dc593e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/torchscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ torchscript.Container = class {

_apply(method, obj, args) {
args = Array.prototype.slice.call(args);
var locals = {};
let locals = {};
for (let parameter of method.parameters) {
if (parameter.name == 'self') {
locals['self'] = obj;
Expand Down

0 comments on commit dc593e8

Please sign in to comment.