Skip to content

Commit

Permalink
Update om.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Jun 28, 2024
1 parent 2749f52 commit 82a9f13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/om.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,10 @@ om.Node = class {

om.Argument = class {

constructor(name, value) {
constructor(name, value, type) {
this.name = name;
this.value = value;
this.type = type;
}
};

Expand All @@ -280,7 +281,7 @@ om.Tensor = class {
constructor(category, type, value) {
this.category = category;
this.type = type;
this.data = value;
this.values = value;
}
};

Expand Down

0 comments on commit 82a9f13

Please sign in to comment.