示例#1
0
 public override NDArray Backward(NDArray input, NDArray gradOutput, ModelMode mode)
 {
     DNN.PoolingBackward(poolingDesc, input, activation, gradInput, gradOutput);
     return(gradInput);
 }
示例#2
0
 public override Tensor Backward(Tensor input, Tensor gradOutput, ModelMode mode)
 {
     DNN.PoolingBackward(poolingDesc, input, activation, gradInput, gradOutput);
     return(gradInput);
 }