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

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

Powerful Powerful Machine Learning library with GPU, CPU and WASM backends
Latest
function tensor6D
import { tensor6D } from "https://deno.land/x/netsaur@0.4.2/packages/core/mod.ts";

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

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