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

Function emb_convert

operators.py:406–408  ·  view source on GitHub ↗
(inputs,num,dim)

Source from the content-addressed store, hash-verified

404 return trainer_ops.ceshi_grad(grad,eid_low=op.get_attr("eid_low"), eid_high=op.get_attr("eid_high"))
405
406def emb_convert(inputs,num,dim):
407 global eid,times
408 return trainer_ops.emb_convert(inputs,num=num,dim=dim,eid_low=(eid&0xFFFFFFFF),eid_high=(eid>>32),times=times)
409@ops.RegisterGradient("EmbConvert")
410def _emb_convert_grad(op, grad):
411 with tf.name_scope("EmbConvertGrad"), tf.xla.experimental.jit_scope(compile_ops=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected