public override NDArray Backward(NDArray input, NDArray gradOutput, ModelMode mode) { DNN.PoolingBackward(poolingDesc, input, activation, gradInput, gradOutput); return(gradInput); }
public override Tensor Backward(Tensor input, Tensor gradOutput, ModelMode mode) { DNN.PoolingBackward(poolingDesc, input, activation, gradInput, gradOutput); return(gradInput); }