Skip to content

Commit 15e6b29

Browse files
committed
alias visualize == vis
1 parent 615bfca commit 15e6b29

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tensorlayer/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
raise ImportError("__init__.py : Could not import TensorFlow." + install_instr)
1212

1313
from . import activation
14-
act = activation
1514
from . import cost
1615
from . import files
1716
from . import iterate
@@ -23,6 +22,9 @@
2322
from . import nlp
2423
from . import rein
2524

25+
# alias
26+
act = activation
27+
vis = visualize
2628

2729
__version__ = "1.4.5"
2830

0 commit comments

Comments
 (0)