import { tensor2D } from "https://deno.land/x/netsaur@0.2.12/web.ts";
Create a 2D tensor from the given 2D array.
tensor2D([
[1, 2, 3, 4],
[5, 6, 7, 8],
]);
Parameters
values: Array2D
import { tensor2D } from "https://deno.land/x/netsaur@0.2.12/web.ts";
Create a 2D tensor from the given 2D array.
tensor2D([
[1, 2, 3, 4],
[5, 6, 7, 8],
]);