Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netsaur/web.ts>Tensor#toJSON

Powerful machine learning, accelerated by WebGPU
Latest
method Tensor.prototype.toJSON
Re-export
import { Tensor } from "https://deno.land/x/netsaur@0.3.2-patch/web.ts";

Serialise a tensor into JSON.

Returns

{ data: number[]; shape: Shape<R>; }