cntk.contrib.deeprl.agent.shared.cntk_utils module

Utility functions.

huber_loss(output, target)[source]

See https://en.wikipedia.org/wiki/Huber_loss for definition.

delta is set to 1. This is not the right definition if output and target differ in more than one dimension.

negative_of_entropy_with_softmax(p)[source]

See https://en.wikipedia.org/wiki/Entropy_(information_theory).