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

Function e_logprob

operators.py:313–315  ·  view source on GitHub ↗
(inputs,mu,sigma)

Source from the content-addressed store, hash-verified

311 return trainer_ops.e_maximum_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_maximum_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]
312
313def e_logprob(inputs,mu,sigma):
314 global eid,times
315 return trainer_ops.e_logprob(inputs,mu,sigma,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
316@ops.RegisterGradient("ELogprob")
317def _e_logprob_grad(op, grad):
318 with tf.name_scope("ELogprobGrad"), tf.xla.experimental.jit_scope(compile_ops=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected