-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
Description
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.
let outputs = 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?