Function maxpoolGrad

Creates an operation representing the derivative of a maxpool operation with respect to the feature maps.

Operation maxpoolGrad (
  Operation parentGrad,
  Operation op,
  string mod = __MODULE__,
  ulong line = cast(ulong)__LINE__
);

Parameters

NameDescription
parentGrad Gradient of some function w.r.t. the maxpool operation.
op The operation being differentiated.

Returns

The gradient.