Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netsaur/src/core/tensor/tensor.ts>tensor3D

Powerful machine learning, accelerated by WebGPU
Go to Latest
function tensor3D
import { tensor3D } from "https://deno.land/x/netsaur@0.2.14/src/core/tensor/tensor.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],
 ],
]);