xpag.agents.rljax_agents.util.optim.weight_decay#

weight_decay(params)#

Calculate the sum of L2 norms of parameters.

Return type:

Array