zeroGrad abstract method

void zeroGrad(
  1. CommandBuffer tape
)

Function to reset the gradient of the parameter back to zero to make it ready for the next learning round.

Implementation

void zeroGrad(CommandBuffer tape);