We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efa8974 commit d53452bCopy full SHA for d53452b
code/samples/mul_add.js
@@ -22,6 +22,7 @@ const tensorC = await context.createTensor({
22
...desc,
23
usage: MLTensorUsage.READ,
24
readable: true,
25
+ writable: false,
26
});
27
const inputs = {'A': tensorA, 'B': tensorB};
28
const outputs = {'C': tensorC};
code/samples/simple_graph.js
@@ -62,6 +62,7 @@ const outputTensor = await context.createTensor({
62
63
64
65
66
67
68
// Execute the compiled graph with the specified inputs.
0 commit comments