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

Function e_one_hot

operators.py:284–286  ·  view source on GitHub ↗
(inputs,alpha)

Source from the content-addressed store, hash-verified

282 return trainer_ops.e_tanh_grad(grad,op.inputs[0],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))
283
284def e_one_hot(inputs,alpha):
285 global eid,times
286 return trainer_ops.e_one_hot(inputs,alpha = alpha,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
287@ops.RegisterGradient("EOneHot")
288
289def e_moments(inputs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected