TensorSpace.js
Getting Start
Basic Concepts
Model Preprocessing
Models
Layers
Merge Function
Install TensorSpace
Basic Use Case
Option 1: From CDN
<script src="https://cdnjs.cloudflare.com/ajax/libs/tensorflow/1.0.0/tf.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/102/three.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tween.js/17.2.0/Tween.min.js"></script>
<script src="https://tensorspace.org/assets/jslib/TrackballControls.js"></script>
<!-- Replace "VERSION"  with the version you want to use. -->
<script src="https://cdn.jsdelivr.net/npm/tensorspace@VERSION/dist/tensorspace.min.js"></script>
Option 2: Download and include tensorspace.min.js in web page.
Get tensorspace.min.js from Github, NPM or TensorSpace official website
<script src="tf.min.js"></script>
<script src="three.min.js"></script>
<script src="Tween.min.js"></script>
<script src="TrackballControls.js"></script>
<!-- Replace "VERSION"  with the version you want to use. -->
<script src="tensorspace.min.js"></script>
Using TensorSpace in Progressive Framework
Step 1: Install TensorSpace
Install through NPM
npm install tensorspace
Install through YARN
yarn add tensorspace
Step 2: Use TensorSpace
import * as TSP from 'tensorspace';
Checkout this Angular example for more information.