diff --git a/tfjs-backend-wasm/README.md b/tfjs-backend-wasm/README.md index 84427ede0a3..c0d351ffca9 100644 --- a/tfjs-backend-wasm/README.md +++ b/tfjs-backend-wasm/README.md @@ -79,22 +79,23 @@ backend: ```ts import {setWasmPaths} from '@tensorflow/tfjs-backend-wasm'; -// setWasmPaths accepts a `prefix` argument which indicates the path to the -// directory where your WASM binaries are located. +// setWasmPaths accepts a `prefixOrFileMap` argument which can be either a +// string or an object. If passing in a string, this indicates the path to +// the directory where your WASM binaries are located. setWasmPaths('www.yourdomain.com/'); // or tf.wasm.setWasmPaths when using