UNPKG

@hoff97/tensor-js

Version:

PyTorch like deep learning inferrence library

10 lines 376 B
import { ReduceNode } from './reduceNode'; export class ReduceMaxNode extends ReduceNode { constructor(attributes, inputs, outputs, constants, onnxVersion, mode) { super(attributes, inputs, outputs, constants, onnxVersion, 'ReduceMax', mode); } calc(input) { return input.max(this.axes, this.keepDims); } } //# sourceMappingURL=reduceMax.js.map