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

Function e_one_hot

model_demo/DeepCrossing/operators.py:286–288  ·  view source on GitHub ↗
(inputs,alpha)

Source from the content-addressed store, hash-verified

284 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"))
285
286def e_one_hot(inputs,alpha):
287 global eid,times
288 return trainer_ops.e_one_hot(inputs,alpha = alpha,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
289@ops.RegisterGradient("EOneHot")
290
291def e_moments(inputs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected