Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cb4eb89

Browse files
Update TensorLayer (#1148)
1 parent 14ca69e commit cb4eb89

36 files changed

+57
-112
lines changed

‎.circleci/config.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,13 +482,11 @@ jobs:
482482
command: |
483483
echo "start tag workflow"
484484
485-
###################################################################################
486485
###################################################################################
487486
###################################################################################
488487
# CircleCI WORKFLOWS #
489488
###################################################################################
490489
###################################################################################
491-
###################################################################################
492490

493491
workflows:
494492
version: 2

‎.codacy.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33
engines:
44
bandit:
5-
enabled: false# FIXME: make it works
5+
enabled: false
66
exclude_paths:
77
- scripts/*
88
- setup.py

‎.dockerignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
# dockerignore
12
.git

‎.github/changelog.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ include:
1818
- requirements_dev.txt
1919
- requirements_tf_cpu.txt
2020
- requirements_tf_gpu.txt
21+
- requirements_doc.txt
22+
- requirements_test.txt
2123

2224
# Configuration Files
2325
- .travis.yml

‎.gitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ wheels/
2626
MANIFEST
2727
*~
2828

29-
# PyInstaller
3029
# Usually these files are written by a python script from a template
3130
# before PyInstaller builds the exe, so as to inject date/other infos into it.
3231
*.manifest

‎.pyup.yml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ requirements:
5757
# Requirements for running unittests
5858
- requirements/requirements_test.txt
5959

60-
# add a label to pull requests, default is not set
61-
# requires private repo permissions, even on public repos
62-
# default: empty
63-
#label_prs: update
64-
6560
# configure the branch prefix the bot is using
6661
# default: pyup-
6762
branch_prefix: pyup-

‎.readthedocs.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# https://docs.readthedocs.io/en/latest/yaml-config.html
22

33
build:
4-
image: latest# For python 3.6
4+
image: latest
55

66
formats:
77
- epub

‎CONTRIBUTING.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,17 @@ make html
140140
# An example of a static model
141141
# A static model has inputs and outputs with fixed shape.
142142
inputs = tl.layers.Input([32, 784])
143-
dense1 = tl.layers.Dense(n_units=800, act=tf.nn.relu, in_channels=784, name='dense1')(inputs)
144-
dense2 = tl.layers.Dense(n_units=10, act=tf.nn.relu, in_channels=800, name='dense2')(dense1)
143+
dense1 = tl.layers.Dense(n_units=800, act='relu', in_channels=784, name='dense1')(inputs)
144+
dense2 = tl.layers.Dense(n_units=10, act='relu', in_channels=800, name='dense2')(dense1)
145145
model = tl.models.Model(inputs=inputs, outputs=dense2)
146146

147147
# An example of a dynamic model
148148
# A dynamic model has more flexibility. The inputs and outputs may be different in different runs.
149149
class CustomizeModel(tl.models.Model):
150150
def __init__(self):
151151
super(CustomizeModel, self).__init__()
152-
self.dense1 = tl.layers.Dense(n_units=800, act=tf.nn.relu, in_channels=784, name='dense1')
153-
self.dense2 = tl.layers.Dense(n_units=10, act=tf.nn.relu, in_channels=800, name='dense2')
152+
self.dense1 = tl.layers.Dense(n_units=800, act='relu', in_channels=784, name='dense1')
153+
self.dense2 = tl.layers.Dense(n_units=10, act='relu', in_channels=800, name='dense2')
154154

155155
# a dynamic model allows more flexibility by customising forwarding.
156156
def forward(self, x, bar=None):

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<!--- [![PyUP Updates](https://pyup.io/repos/github/tensorlayer/tensorlayer/shield.svg)](https://pyup.io/repos/github/tensorlayer/tensorlayer/) --->
2323

2424
[TensorLayer](https://tensorlayer.readthedocs.io) is a novel TensorFlow-based deep learning and reinforcement learning library designed for researchers and engineers. It provides an extensive collection of customizable neural layers to build advanced AI models quickly, based on this, the community open-sourced mass [tutorials](https://github.com/tensorlayer/tensorlayer/blob/master/examples/reinforcement_learning/README.md) and [applications](https://github.com/tensorlayer). TensorLayer is awarded the 2017 Best Open Source Software by the [ACM Multimedia Society](https://twitter.com/ImperialDSI/status/923928895325442049).
25-
This project can also be found at [iHub](https://code.ihub.org.cn/projects/328) and [Gitee](https://gitee.com/organizations/TensorLayer).
25+
This project can also be found at [OpenI](https://git.openi.org.cn/TensorLayer/tensorlayer3.0) and [Gitee](https://gitee.com/organizations/TensorLayer).
2626

2727
# News
2828

‎README.rst‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Cite
107107
====
108108

109109
If you find this project useful, we would be grateful if you cite the
110-
TensorLayer paper:
110+
TensorLayer papers.
111111

112112
::
113113

@@ -119,6 +119,14 @@ TensorLayer paper:
119119
year = {2017}
120120
}
121121

122+
@inproceedings{tensorlayer2021,
123+
title={Tensorlayer 3.0: A Deep Learning Library Compatible With Multiple Backends},
124+
author={Lai, Cheng and Han, Jiarong and Dong, Hao},
125+
booktitle={2021 IEEE International Conference on Multimedia \& Expo Workshops (ICMEW)},
126+
pages={1--3},
127+
year={2021},
128+
organization={IEEE}
129+
122130
License
123131
=======
124132

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /