Skip to content

Latest commit

 

History

History
 
 

api-usage_tensor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

API usage - Create Tensor

Summary

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.

Usage

npm install
node ./tensor-create.js
node ./tensor-properties.js