Skip to main content
Module

x/netsaur/web.ts>tensor3D

Powerful machine learning, accelerated by WebGPU
Latest
function tensor3D
import { tensor3D } from "https://deno.land/x/netsaur@0.3.1/web.ts";

Create a 3D tensor from the given 3D array.

tensor3D([
 [
   [1, 2, 3, 4],
   [5, 6, 7, 8],
 ],
 [
   [1, 2, 3, 4],
   [5, 6, 7, 8],
 ],
]);