Skip to content

Commit

Permalink
Fix bug with string representation of a tensor
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Ponkrashov committed Feb 9, 2023
1 parent f17a975 commit f619535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/CircleGraph/view-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ sidebar.ArgumentView = class {
try {
const state = initializer.state;
if (!state && __enableVisualTensorView === "true") {
this._element.appendChild(new sidebar.VisualTensorView(this._host, JSON.parse(initializer.toString()))._element);
this._element.appendChild(new sidebar.VisualTensorView(this._host, initializer._decode(initializer._context(), 0))._element);
}
if (
state === null &&
Expand Down

0 comments on commit f619535

Please sign in to comment.