This example is a demonstration of basic usage of Tensor.
tensor-create.js: In this example, we create tensors in different ways.tensor-properties.js: In this example, we get tensor properties from a Tensor object.
See also Tensor constructor and Tensor interface in API reference document.
npm install
node ./tensor-create.js
node ./tensor-properties.js