import { Tensor } from '../../../library'; import { Mode } from '../../../model/module'; import { DType } from '../../../types'; import { OnnxNode } from '../../node'; import { Attributes, Constants } from '../../types'; export declare abstract class ReduceNode extends OnnxNode { protected axes?: number[]; protected keepDims?: boolean; protected name: string; constructor(attributes: Attributes, inputs: string[], outputs: string[], constants: Constants, onnxVersion: number, name: string, mode: Mode); abstract calc(input: Tensor): Tensor; protected getAxes(input: Tensor): any[]; forward(inputs: Tensor[]): Promise[]>; getType(): string; delete(): void; }