UNPKG

@shumai/shumai

Version:

A fast, network-connected, differentiable tensor library for TypeScript (and JavaScript). Built with bun + flashlight for software engineers and researchers alike.

10 lines (9 loc) 312 B
import { Tensor } from '../tensor'; import { Module } from './module'; export declare class Sequential extends Module { private _modules; constructor(...modules: CallableFunction[]); get length(): number; get modules(): CallableFunction[]; forward(...inputs: unknown[]): Tensor | Tensor[]; }