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

x/netsaur/src/core/tensor/util.ts

Powerful machine learning, accelerated by WebGPU
Go to Latest
import * as netsaur from "https://deno.land/x/netsaur@0.2.10/src/core/tensor/util.ts";

Functions

Infer the shape of an array.

iterate over a 1D array.

iterate over a 2D array.

iterate over a 3D array.

iterate over a 4D array.

return the length of a shape.

convert a shape to a 1D shape.

convert a shape to a 2D shape.

convert a shape to a 3D shape.

convert a shape to a 4D shape.

convert a shape to a given rank.