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

Function e_tanh

model_demo/DeepCrossing/operators.py:278–280  ·  view source on GitHub ↗
(inputs)

Source from the content-addressed store, hash-verified

276 return trainer_ops.e_softplus_grad(grad,op.inputs[0],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))
277
278def e_tanh(inputs):
279 global eid,times
280 return trainer_ops.e_tanh(inputs,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
281@ops.RegisterGradient("ETanh")
282def _e_tanh_grad(op, grad):
283 with tf.name_scope("ETanhGrad"), tf.xla.experimental.jit_scope(compile_ops=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected