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.

15 lines (14 loc) 274 B
import type { Tensor } from '../tensor' export type OptimizerFn = ( grads: Record< string, { grad: Tensor tensor: Tensor } >, learning_rate?: number ) => Promise<void> | void export * from './adam' export * from './optim' export * from './sgd'