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

x/netsaur/packages/core/mod.ts>tensor5D

Powerful machine learning, accelerated by WebGPU
Go to Latest
function tensor5D
import { tensor5D } from "https://deno.land/x/netsaur@0.4.0-patch/packages/core/mod.ts";

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

tensor5D([
  [
    [
      [
        [1, 2, 3],
        [4, 5, 6],
      ],
      [
        [1, 2, 3],
        [4, 5, 6],
      ],
    ],
    [
      [
        [1, 2, 3],
        [4, 5, 6],
      ],
      [
        [1, 2, 3],
        [4, 5, 6],
      ],
    ],
  ],
]);