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

Function _e_clip_grad

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

Source from the content-addressed store, hash-verified

374 return trainer_ops.e_clip(inputs,down,up,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
375@ops.RegisterGradient("EClip")
376def _e_clip_grad(op, grad):
377 with tf.name_scope("EClipGrad"), tf.xla.experimental.jit_scope(compile_ops=False):
378 return trainer_ops.e_clip_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")),None,None
379
380
381def e_batch_norm(inputs,scale,offset,mean,variance,epsilon):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected