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

Function e_sample

operators.py:247–249  ·  view source on GitHub ↗
(mu,sigma,nums=1)

Source from the content-addressed store, hash-verified

245 return trainer_ops.e_reduce_sum_grad(grad,op.inputs[0],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))
246
247def e_sample(mu,sigma,nums=1):
248 global eid,times
249 return trainer_ops.e_sample(mu,sigma,nums,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
250@ops.RegisterGradient("ESample")
251
252def e_sign(inputs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected