Return the cost associated with an output ``a`` and desired output ``y``. Note that np.nan_to_num is used to ensure numerical stability. In particular, if both ``a`` and ``y`` have a 1.0 in the same slot, then the expression (1-y)*np.log(1-a) returns nan. The n
(a, y)
source not stored for this graph (policy: none)
nothing calls this directly
no outgoing calls
no test coverage detected