Skip to content

Commit

Permalink
Update executorch.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Feb 8, 2025
1 parent 84e8bdf commit 058f49d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/executorch.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ executorch.Graph = class {
values.set(index, { type: 'int64[]', value: list });
} else if (val instanceof executorch_flatbuffer.Double) {
values.set(index, { type: 'float64', value: val.double_val });
} else if (val instanceof executorch_flatbuffer.String) {
values.set(index, { type: 'string', value: val.string_val });
} else if (val instanceof executorch_flatbuffer.Null) {
values.set(index, { type: 'attribute', value: null });
} else {
Expand Down

0 comments on commit 058f49d

Please sign in to comment.