Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
luo3300612 authored Aug 11, 2021
1 parent 96b5fc2 commit d4d645c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def your_attention_function(*args, **kwargs):
return ...
```
然后在可视化代码里,我们这么写
```
```python
from visualizer import get_local
get_local.activate() # 激活装饰器
from ... import model # 被装饰的模型一定要在装饰器激活之后导入!!
Expand Down

0 comments on commit d4d645c

Please sign in to comment.