Skip to content

Commit

Permalink
add import math (#9346)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickvonplaten authored Dec 29, 2020
1 parent 785e52c commit 912f688
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1400,6 +1400,7 @@ def call(
)

{% else %}
import math
import random
from typing import Dict, Optional, Tuple, Union

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1513,6 +1513,7 @@ def forward(
attentions=outputs.attentions,
)
{% else %}
import math
import random
from typing import Optional, Tuple

Expand Down

0 comments on commit 912f688

Please sign in to comment.