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

Function e_logloss_none

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

Source from the content-addressed store, hash-verified

205 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"))
206
207def e_logloss_none(pred,real,weights):
208 global eid,times
209 return trainer_ops.e_logloss_none(pred,real,weights,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
210@ops.RegisterGradient("ELoglossNone")
211def _e_logloss_none_grad(op, grad):
212 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