diff --git a/site/index.html b/site/index.html index 074bee6..0065619 100644 --- a/site/index.html +++ b/site/index.html @@ -608,6 +608,15 @@

About

Installation

This is a node package, and can be installed with npm (Node Package Manager). It has full sopport of node 20.15.1, which is the latest LTS (Long-Term Support) node version.

In most operating systems, it should also work for more recent versions.

+

To install in the browser, link js-pytorch-browser.js to your HTML file:

+
+  
+  <script src="dist/js-pytorch-browser.js"></script>
+    <script type="module">
+      import { torch } from 'dist/js-pytorch-browser.js';
+    </script>
+  
+

MacOS