Skip to main content
Module

x/netsaur/mod.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.4.0-patch/mod.ts";

Serialise a tensor into JSON.

Returns

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