MCPcopy Create free account
hub / github.com/conflow-dev/ConFlow / e_logloss

Function e_logloss

operators.py:447–449  ·  view source on GitHub ↗
(pred,real,weights)

Source from the content-addressed store, hash-verified

445 return trainer_ops.e_sigmoid_grad(grad,op.inputs[0],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))
446
447def e_logloss(pred,real,weights):
448 global eid,times
449 return trainer_ops.e_log_loss(pred,real,weights,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
450@ops.RegisterGradient("ELogLoss")
451def _e_logloss_grad(op, grad):
452 with tf.name_scope("ELogLossGrad"), tf.xla.experimental.jit_scope(compile_ops=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected