method Tensor.prototype.toJSONimport { Tensor } from "https://deno.land/x/netsaur@0.3.1/src/core/tensor/tensor.ts"; toJSON(): { data: number[]; shape: Shape[R]; }Serialise a tensor into JSON. Returns{ data: number[]; shape: Shape[R]; }