Module corgi::cost [−][src]
Expand description
Cost functions compute the loss given a target, and are used for the backward pass.
Functions
Type Definitions
A cost function, which computes the loss given a target. The cost function takes in the output as the first argument, and the target as the second.