Skip to content

Commit

Permalink
Merge pull request google-research#25 from eric-haibin-lin/patch-1
Browse files Browse the repository at this point in the history
Minor documentation fix
  • Loading branch information
jacobdevlin-google authored Nov 2, 2018
2 parents 9c8798f + 4cf3d02 commit 39ed6c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,8 @@ def attention_layer(from_tensor,
query_act: (optional) Activation function for the query transform.
key_act: (optional) Activation function for the key transform.
value_act: (optional) Activation function for the value transform.
attention_probs_dropout_prob:
attention_probs_dropout_prob: (optional) float. Dropout probability of the attention
probabilities.
initializer_range: float. Range of the weight initializer.
do_return_2d_tensor: bool. If True, the output will be of shape [batch_size
* from_seq_length, num_attention_heads * size_per_head]. If False, the
Expand Down

0 comments on commit 39ed6c5

Please sign in to comment.