mirror of
https://github.com/tutao/tutanota.git
synced 2025-12-07 13:49:47 +00:00
add tensorflow cpu backend as fallback for webgl backend
When the webgl backend is not available or unsupported, we fall back to the tensorflow cpu backend. Tensorflow cpu backend library review by abp and jhm. Co-authored-by: jomapp <17314077+jomapp@users.noreply.github.com>
This commit is contained in:
parent
ff856f821e
commit
e196f8f8e4
3 changed files with 16792 additions and 2200 deletions
8297
libs/tensorflow-stripped.js
vendored
8297
libs/tensorflow-stripped.js
vendored
File diff suppressed because it is too large
Load diff
10692
libs/tensorflow.js
vendored
10692
libs/tensorflow.js
vendored
File diff suppressed because it is too large
Load diff
|
|
@ -1,5 +1,6 @@
|
|||
// Use side-effect import to initialize WebGL backend
|
||||
// Use side effect import to initialize WebGL backend
|
||||
import "@tensorflow/tfjs-backend-webgl"
|
||||
import "@tensorflow/tfjs-backend-cpu"
|
||||
|
||||
import "@tensorflow/tfjs-core/dist/register_all_gradients"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue