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

Function _e_huber_loss_grad

operators.py:346–348  ·  view source on GitHub ↗
(op, grad)

Source from the content-addressed store, hash-verified

344 return trainer_ops.e_huber_loss(pred,real,delta,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
345@ops.RegisterGradient("EHuberLoss")
346def _e_huber_loss_grad(op, grad):
347 with tf.name_scope("EHuberLossGrad"), tf.xla.experimental.jit_scope(compile_ops=False):
348 return trainer_ops.e_huber_loss_grad(grad,op.inputs[0],op.inputs[1],op.inputs[2],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))[0],trainer_ops.e_huber_loss_grad(grad,op.inputs[0],op.inputs[1],op.inputs[2],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))[1],None
349
350def e_greater(inputs,alpha):
351 global eid,times

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected