wasm-tensorflow-tfjs-core 0.1.1

Rust WASM Bindings for the npm package `@tensorflow/tfjs-core`
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# wasm-tensorflow-tfjs-core
What if you wanted to do this in JavaScript?
```js
import '@tensorflow/tfjs-backend-webgl'
import { setBackend } from '@tensorflow/tfjs-core'

await setBackend('wegbl')
```

Just add this crate and you can do it in Rust!
```rs
// Somehow import '@tensorflow/tfjs-backend-webgl'
use wasm_tensorflow_tfjs_core::{set_backend, BackendName};

let result = set_backend(BackendName::Webgl).await;
```