(input_tensor, dropout_prob, name=None)
return output_tensor
Runs layer normalization followed by dropout.
Runs layer normalization followed by dropout.
Runs layer normalization followed by dropout .
def layer_norm_and_dropout(input_tensor, dropout_prob, name=None):
  """Runs layer normalization followed by dropout."""
  output_tensor = layer_norm(input_tensor, name)
  output_tensor = dropout(output_tensor, dropout_prob)
  return output_tensor
def layer_norm_and_dropout ( input_tensor , dropout_prob , name = None ) : output_tensor = layer_norm ( input_tensor , name ) output_tensor = dropout ( output_tensor , dropout_prob ) return output_tensor