UNPKG

@ai-on-browser/data-analysis-models

Version:

Data analysis model package without any dependencies

23 lines (22 loc) 433 B
/** * Softmax layer */ export default class SoftmaxLayer extends Layer { /** * @param {object} config object * @param {number} [config.axis] Axis */ constructor({ axis, ...rest }: { axis?: number; }); _axis: number; calc(x: any): any; _o: any; grad(bo: any): any; _bi: any; toObject(): { type: string; axis: number; }; } import Layer from './base.js';