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

Function _e_reduce_mean_zero_grad

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

Source from the content-addressed store, hash-verified

201 return trainer_ops.e_reduce_mean_zero(inputs,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
202@ops.RegisterGradient("EReduceMeanZero")
203def _e_reduce_mean_zero_grad(op, grad):
204 with tf.name_scope("EReduceMeanZeroGrad"), tf.xla.experimental.jit_scope(compile_ops=False):
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected