()
return Fn('Gate', lambda m, g, c: g * m + (1.0 - g) * c)
Returns a gating layer on a (memory, gate, candidate) tuple.

  Final update is memory * gate + (1 - gate) * candidate

  This gating equation may also be referred to as Highway Network.
  Highway Networks: https://arxiv.org/abs/1505.00387
Returns a gating layer on a (memory, gate, candidate) tuple.
Returns a gating layer on a ( memory gate candidate ) tuple .
def Gate():
  """Returns a gating layer on a (memory, gate, candidate) tuple.

  Final update is memory * gate + (1 - gate) * candidate

  This gating equation may also be referred to as Highway Network.
  Highway Networks: https://arxiv.org/abs/1505.00387
  """
  return Fn('Gate', lambda m, g, c: g * m + (1.0 - g) * c)
def Gate ( ) : return Fn ( 'Gate' , lambda m , g , c : g * m + ( 1.0 - g ) * c )