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

Function e_moments

operators.py:289–291  ·  view source on GitHub ↗
(inputs)

Source from the content-addressed store, hash-verified

287@ops.RegisterGradient("EOneHot")
288
289def e_moments(inputs):
290 global eid,times
291 return trainer_ops.e_moments(inputs,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)[0],trainer_ops.e_moments(inputs,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)[1]
292@ops.RegisterGradient("EMoments")
293def _e_moments_grad(op, grad1,grad2):
294 with tf.name_scope("EMomentsGrad"), tf.xla.experimental.jit_scope(compile_ops=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected