import { AttributeWithCacheKey } from '../../../attribute-with-cache-key'; import { OperatorImplementation, OperatorInitialization } from '../../../operators'; import { Tensor } from '../../../tensor'; import { WebGLInferenceHandler } from '../inference-handler'; export interface AveragePoolAttributes extends AttributeWithCacheKey { readonly autoPad: string; readonly ceilMode: number; readonly countIncludePad: boolean; readonly kernelShape: readonly number[]; readonly strides: readonly number[]; readonly pads: readonly number[]; } export declare const averagePool: OperatorImplementation; export declare const parseAveragePoolAttributes: OperatorInitialization; export declare const globalAveragePool: OperatorImplementation; export declare const parseGlobalAveragePoolAttributes: OperatorInitialization; export interface MaxPoolAttributes extends AveragePoolAttributes { readonly storageOrder: number; readonly dilations: number[]; } export declare const maxPool: OperatorImplementation; export declare const parseMaxPoolAttributes: OperatorInitialization; export declare const globalMaxPool: (inferenceHandler: WebGLInferenceHandler, inputs: Tensor[]) => Tensor[];