Skip to content

Commit

Permalink
TensorLayerX 0.5.6 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Laicheng0830 committed Jul 15, 2022
1 parent f600cbe commit eaec97e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Compare to TensorLayer version:

# Resources

- [TLX2ONNX](https://github.com/tensorlayer/TLX2ONNX/) ONNX Model Exporter for TensorLayerX. ✅
- [Examples](https://github.com/tensorlayer/TensorLayerX/tree/main/examples) for tutorials✅
- [GammaGL](https://github.com/BUPT-GAMMA/GammaGL) is a multi-backend graph learning library based on TensorLayerX.✅
- OpenIVA an easy-to-use product-level deployment framework✅
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

MAJOR = 0
MINOR = 5
PATCH = 5
PATCH = 6
PRE_RELEASE = ''
# Use the following formatting: (major, minor, patch, prerelease)
VERSION = (MAJOR, MINOR, PATCH, PRE_RELEASE)
Expand Down
8 changes: 4 additions & 4 deletions tensorlayerx/nn/layers/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class Stack(Module):
---------
>>> import tensorlayerx as tlx
>>> ni = tlx.nn.Input([10, 784], name='input')
>>> net1 = tlx.nn.Dense(10, name='dense1')(ni)
>>> net2 = tlx.nn.Dense(10, name='dense2')(ni)
>>> net3 = tlx.nn.Dense(10, name='dense3')(ni)
>>> net1 = tlx.nn.Linear(10, name='linear1')(ni)
>>> net2 = tlx.nn.Linear(10, name='linear2')(ni)
>>> net3 = tlx.nn.Linear(10, name='linear3')(ni)
>>> net = tlx.nn.Stack(axis=1, name='stack')([net1, net2, net3])
(10, 3, 10)
Expand Down Expand Up @@ -86,7 +86,7 @@ class UnStack(Module):
Examples
--------
>>> ni = tlx.nn.Input([4, 10], name='input')
>>> nn = tlx.nn.Dense(n_units=5)(ni)
>>> nn = tlx.nn.Linear(n_units=5)(ni)
>>> nn = tlx.nn.UnStack(axis=1)(nn) # unstack in channel axis
>>> len(nn) # 5
>>> nn[0].shape # (4,)
Expand Down
2 changes: 1 addition & 1 deletion tensorlayerx/package_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

MAJOR = 0
MINOR = 5
PATCH = 5
PATCH = 6
PRE_RELEASE = ''
# Use the following formatting: (major, minor, patch, prerelease)
VERSION = (MAJOR, MINOR, PATCH, PRE_RELEASE)
Expand Down

0 comments on commit eaec97e

Please sign in to comment.