You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the session.run() operation is synchronous. If this can take a lot of time it doesn't really play nice with the node way of doing things.
// Run to evaluate and retrieve the value of the 'result' op.letoutputs=session.run(/* inputs */null,/* outputs */['result'],/* targets */null);// Should print out '42'console.log(outputs.result.toValue());
Is it possible to make operations like this async using node-ffi?
The text was updated successfully, but these errors were encountered:
So the
session.run()
operation is synchronous. If this can take a lot of time it doesn't really play nice with the node way of doing things.Is it possible to make operations like this async using
node-ffi
?The text was updated successfully, but these errors were encountered: