To extend the Tensor class while using the dl.tensor constructor, and to allow dl.print to work, click the button with console open. Alert presents data from the extended tensor





Main page at https://hpssjellis.github.io/deeplearnjs-javascript-examples/
by Jeremy Ellis
Twitter https://twitter.com/rocksetta
Website http://rocksetta.com
Use at your own risk!