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

Function e_maximum

operators.py:305–307  ·  view source on GitHub ↗
(input1,input2)

Source from the content-addressed store, hash-verified

303 return trainer_ops.e_minimum_grad(grad,op.inputs[0],op.inputs[1],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))[0],trainer_ops.e_minimum_grad(grad,op.inputs[0],op.inputs[1],eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"),times = op.get_attr("times"))[1]
304
305def e_maximum(input1,input2):
306 global eid,times
307 return trainer_ops.e_maximum(input1,input2,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
308@ops.RegisterGradient("EMaximum")
309def _e_maximum_grad(op, grad):
310 with tf.name_scope("EMaximumGrad"), tf.xla.experimental.jit_scope(compile_ops=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected