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

Function e_reduce_mean

operators.py:231–233  ·  view source on GitHub ↗
(inputs)

Source from the content-addressed store, hash-verified

229 return trainer_ops.e_reduce_max_one_grad(grad,op.inputs[0],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))
230
231def e_reduce_mean(inputs):
232 global eid,times
233 return trainer_ops.e_reduce_mean(inputs,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
234@ops.RegisterGradient("EReduceMean")
235def _e_reduce_mean_grad(op, grad):
236 with tf.name_scope("EReduceMeanGrad"), tf.xla.experimental.jit_scope(compile_ops=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected