method Tensor.prototype.toJSONimport { Tensor } from "https://deno.land/x/netsaur@0.2.8/src/core/tensor/tensor.ts"; toJSON()Serialise a tensor into JSON.