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

Function e_leakyrelu

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

Source from the content-addressed store, hash-verified

334@ops.RegisterGradient("ELessEqual")
335
336def e_leakyrelu(inputs,alpha):
337 global eid,times
338 return trainer_ops.e_leakyrelu(inputs,alpha=alpha,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
339@ops.RegisterGradient("ELeakyrelu")
340def _e_leakyrelu_grad(op, grad):
341 with tf.name_scope("ELeakyreluGrad"), tf.xla.experimental.jit_scope(compile_ops=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected