Commit e619c9c
authored
Use pytorch way to do escape NaN
The old tensorflow-style grammar still cause NaN output when wi is very small.1 parent ee1fd75 commit e619c9c
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
| 288 | + | |
292 | 289 | | |
293 | 290 | | |
294 | 291 | | |
| |||
0 commit comments