UNPKG

@thi.ng/tensors

Version:

0D/1D/2D/3D/4D tensors with extensible polymorphic operations and customizable storage

8 lines 236 B
import type { ITensor } from "./api.js"; /** * Computes the mean value of given nD tensor, aka `sum(a) / a.length`. * * @param a - input tensor */ export declare const mean: (a: ITensor) => number; //# sourceMappingURL=mean.d.ts.map