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

Function e_square

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

Source from the content-addressed store, hash-verified

215 return trainer_ops.e_logloss_none_grad(grad,op.inputs[0],op.inputs[1],op.inputs[2],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))[0],trainer_ops.e_logloss_none_grad(grad,op.inputs[0],op.inputs[1],op.inputs[2],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))[2],trainer_ops.e_logloss_none_grad(grad,op.inputs[0],op.inputs[1],op.inputs[2],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))[1]
216
217def e_square(inputs):
218 global eid,times
219 return trainer_ops.e_square(inputs,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
220@ops.RegisterGradient("ESquare")
221def _e_square_grad(op, grad):
222 with tf.name_scope("ESquareGrad"), tf.xla.experimental.jit_scope(compile_ops=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected