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

Function e_logloss_none

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

Source from the content-addressed store, hash-verified

207 return trainer_ops.e_reduce_mean_zero_grad(grad,op.inputs[0],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))
208
209def e_logloss_none(pred,real,weights):
210 global eid,times
211 return trainer_ops.e_logloss_none(pred,real,weights,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
212@ops.RegisterGradient("ELoglossNone")
213def _e_logloss_none_grad(op, grad):
214 with tf.name_scope("ELoglossNoneGrad"), tf.xla.experimental.jit_scope(compile_ops=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected