Thx, it works well now. “No connection” means I manually set the gradient to None, which is mathematically equivalent to zero but faster since it will never construct large zero matrices. For example, in Tensorflow I can do like this:



@ops.RegisterGradient(“Round”)
def __RoundGrad(_, grad):
return None