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

Function e_logloss

model_demo/DeepCrossing/operators.py:449–451  ·  view source on GitHub ↗
(pred,real,weights)

Source from the content-addressed store, hash-verified

447 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"))
448
449def e_logloss(pred,real,weights):
450 global eid,times
451 return trainer_ops.e_log_loss(pred,real,weights,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
452@ops.RegisterGradient("ELogLoss")
453def _e_logloss_grad(op, grad):
454 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