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

x/netsaur/packages/utilities/src/utils/misc/tensor.ts>Shape

Powerful machine learning, accelerated by WebGPU
Go to Latest
type alias Shape
import { type Shape } from "https://deno.land/x/netsaur@0.4.0-patch/packages/utilities/src/utils/misc/tensor.ts";

An array with n items

Type Parameters

N extends number
definition: N extends 0 ? [] : [number, ...number[]] & { length: N; }