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
{{ message }}
This repository has been archived by the owner on May 30, 2019. It is now read-only.
console.warn("Warning: backend.onLoad called more than once.");
return;
}
onLoadCalled=true;
if(preferTF()&&tf.loadBinding()){
console.log("Using TF backend.");
bo=newtf.OpsTF();
backend="tf";
}else{
console.log("Using DL backend.");
bo=newdl.OpsDL();
backend="dl";
}
})();
Once we can run both backends without restarting the process, it will be possible to augment the tester to run tests for both. That would be done here:
Currently to switch backends, we need to restart Node with different environmental variables:
propel/tools/test.js
Lines 9 to 11 in 8b570f0
This could be done during runtime by improving this bit of code
propel/src/backend.ts
Lines 27 to 48 in 8b570f0
Once we can run both backends without restarting the process, it will be possible to augment the tester to run tests for both. That would be done here:
propel/tools/tester.ts
Lines 49 to 59 in 8b570f0
The text was updated successfully, but these errors were encountered: