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

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

Powerful machine learning, accelerated by WebGPU
Go to Latest
function iterate1D
import { iterate1D } from "https://deno.land/x/netsaur@0.2.2/src/core/tensor/util.ts";

iterate over a 1D array.

Parameters

length: number
callback: (i: number) => void