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

Function e_reduce_mean_zero

model_demo/DeepCrossing/operators.py:201–203  ·  view source on GitHub ↗
(inputs)

Source from the content-addressed store, hash-verified

199 return trainer_ops.e_div_grad(grad,op.inputs[0],op.inputs[1],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))[0],trainer_ops.e_div_grad(grad,op.inputs[0],op.inputs[1],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))[1]
200
201def e_reduce_mean_zero(inputs):
202 global eid,times
203 return trainer_ops.e_reduce_mean_zero(inputs,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
204@ops.RegisterGradient("EReduceMeanZero")
205def _e_reduce_mean_zero_grad(op, grad):
206 with tf.name_scope("EReduceMeanZeroGrad"), tf.xla.experimental.jit_scope(compile_ops=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected