Skip to content
Open
6 changes: 3 additions & 3 deletions docs/develop/javascript/tensorflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ The WasmEdge-QuickJs supports the WasmEdge WASI-NN plug-ins so your JavaScript c

Install WasmEdge with WASI-NN plug-in.

- [with the Tensorflow Lite backend](../../start/install.md#wasi-nn-plug-in-with-tensorflow-lite-backend)
- [with the PyTorch backend](../../start/install.md#wasi-nn-plug-in-with-pytorch-backend)
- [with the Tensorflow Lite backend](../../start/install.md#install-wasmedge-with-plug-ins)
- [with the PyTorch backend](../../start/install.md#install-wasmedge-with-plug-ins)

Instead of a [standard](hello_world.md#prerequisites) QuickJS setup, you need to get the WasmEdge QuickJS runtime with WASI NN support built-in. Clone the wasmedge-quickjs repo and use it as the current directory.

Expand Down Expand Up @@ -75,7 +75,7 @@ print('confidence:');
print(max / 255);
```

To run the JavaScript in the WasmEdge runtime, make sure that you have the [WASI-NN plug-in and Tensorflow Lite dependency libraries installed with WasmEdge](../../start/install.md#wasi-nn-plug-in-with-tensorflow-lite-backend). You should see the food item's name recognized by the TensorFlow lite ImageNet model.
To run the JavaScript in the WasmEdge runtime, make sure that you have the [WASI-NN plug-in and Tensorflow Lite dependency libraries installed with WasmEdge](../../start/install.md#install-wasmedge-with-plug-ins). You should see the food item's name recognized by the TensorFlow lite ImageNet model.

```bash
$ wasmedge --run-mode=aot --dir .:. wasmedge_quickjs_nn.wasm example_js/tensorflow_lite_demo/wasi_nn_main.js
Expand Down
2 changes: 1 addition & 1 deletion docs/develop/rust/wasicrypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_position: 9

While optimizing compilers could allow efficient implementation of cryptographic features in WebAssembly, there are several occasions where a host implementation is more desirable. [WASI-crypto](https://github.com/WebAssembly/wasi-crypto/blob/main/docs/HighLevelGoals.md) aims to fill those gaps by defining a standard interface as a set of APIs. Currently not support Android.

Make sure [you have Rust and WasmEdge installed](setup.md) and [the WASI-crypto plugin](../../start/install.md#wasi-crypto-plug-in) installed.
Make sure [you have Rust and WasmEdge installed](setup.md) and [the WASI-crypto plugin](../../start/install.md#install-wasmedge-with-plug-ins) installed.

## Write WebAssembly Using WASI-Crypto

Expand Down
2 changes: 1 addition & 1 deletion docs/develop/rust/wasinn/llm_inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Furthermore, WasmEdge can support any open-source LLMs. Please check [the suppor

## Prerequisite

Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [Wasi-NN plugin with ggml installed](../../../start/install.md#wasi-nn-plug-in-with-ggml-backend).
Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [Wasi-NN plugin with ggml installed](../../../start/install.md#install-wasmedge-with-plug-ins).

## Quick start

Expand Down
2 changes: 1 addition & 1 deletion docs/develop/rust/wasinn/mediapipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Mediapipe is a collection of highly popular AI models developed by Google. They

## Prerequisite

Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [WASI-NN plugin with TensorFlow Lite installed](../../../start/install.md#wasi-nn-plug-in-with-tensorflow-lite-backend).
Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [WASI-NN plugin with TensorFlow Lite installed](../../../start/install.md#install-wasmedge-with-plug-ins).

## Quick start

Expand Down
2 changes: 1 addition & 1 deletion docs/develop/rust/wasinn/openvino.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ We will use [this example project](https://github.com/second-state/WasmEdge-WASI

## Prerequisite

Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [Wasi-NN plugin with OpenVINO installed](../../../start/install.md#wasi-nn-plug-in-with-openvino-backend).
Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [Wasi-NN plugin with OpenVINO installed](../../../start/install.md#install-wasmedge-with-plug-ins).

## Quick start

Expand Down
2 changes: 1 addition & 1 deletion docs/develop/rust/wasinn/piper.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ We will use [this example project](https://github.com/second-state/WasmEdge-WASI

## Prerequisite

Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [WASI-NN plugin with Piper installed](../../../start/install.md#wasi-nn-plug-in-with-piper-backend).
Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [WASI-NN plugin with Piper installed](../../../start/install.md#install-wasmedge-with-plug-ins).

## Quick start

Expand Down
2 changes: 1 addition & 1 deletion docs/develop/rust/wasinn/pytorch.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ We will use [this example project](https://github.com/second-state/WasmEdge-WASI

## Prerequisite

Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [Wasi-NN plugin with PyTorch installed](../../../start/install.md#wasi-nn-plug-in-with-pytorch-backend).
Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [Wasi-NN plugin with PyTorch installed](../../../start/install.md#install-wasmedge-with-plug-ins).

## Quick start

Expand Down
2 changes: 1 addition & 1 deletion docs/develop/rust/wasinn/tensorflow_lite.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ We will use [this example project](https://github.com/second-state/WasmEdge-WASI

## Prerequisite

Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [WASI-NN plugin with TensorFlow Lite installed](../../../start/install.md#wasi-nn-plug-in-with-tensorflow-lite-backend).
Besides the [regular WasmEdge and Rust requirements](../../rust/setup.md), please make sure that you have the [WASI-NN plugin with TensorFlow Lite installed](../../../start/install.md#install-wasmedge-with-plug-ins).

## Quick start

Expand Down
6 changes: 3 additions & 3 deletions docs/develop/rust/wasinn/tf_plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use wasmedge_tensorflow_interface;

In this crate, we provide several functions to decode and convert images into tensors using the `WasmEdge-Image` host functions.

To use these functions in WASM and execute in WasmEdge, users should [install WasmEdge with WasmEdge-Image plug-in](../../../start/install.md#wasmedge-image-plug-in).
To use these functions in WASM and execute in WasmEdge, users should [install WasmEdge with WasmEdge-Image plug-in](../../../start/install.md#install-wasmedge-with-plug-ins).

For decoding the `JPEG` images, there are:

Expand Down Expand Up @@ -72,9 +72,9 @@ let flat_img = wasmedge_tensorflow_interface::load_jpg_image_to_rgb32f(&img_buf,

## Inferring TensorFlow And TensorFlow-Lite Models

For using the `TFSession` struct to inference the TensorFlow models and executing in WasmEdge, users should install the [WasmEdge-TensorFlow plug-in with dependencies](../../../start/install.md#wasmedge-tensorflow-plug-in).
For using the `TFSession` struct to inference the TensorFlow models and executing in WasmEdge, users should install the [WasmEdge-TensorFlow plug-in with dependencies](../../../start/install.md#install-wasmedge-with-plug-ins).

For using the `TFLiteSession` struct and to inference the TensorFlow-Lite models executing in WasmEdge, users should install the [WasmEdge-TensorFlowLite plug-in with dependencies](../../../start/install.md#wasmedge-tensorflow-lite-plug-in).
For using the `TFLiteSession` struct and to inference the TensorFlow-Lite models executing in WasmEdge, users should install the [WasmEdge-TensorFlowLite plug-in with dependencies](../../../start/install.md#install-wasmedge-with-plug-ins).

### Create Session

Expand Down