You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2020/07/30 03:50:04 UTC
[singa] branch dev updated (493f185 -> a43dfcc)
This is an automated email from the ASF dual-hosted git repository.
wangwei pushed a change to branch dev
in repository https://gitbox.apache.org/repos/asf/singa.git.
from 493f185 Merge pull request #772 from dcslin/qabot4
new e8ba5bb Add RMSProp, AdaGrad, Adam to opt.py
new fbb9f97 Update RBM example
new 81faccd delete old optimizer python interface
new 94ed62c delete old optimizer test cases
new a936833 update singa.i
new 93989b0 Add GAN examples and google formatting
new 7b7359d code cleaning and improve gan
new 6abec93 Merge branch 'dev' into opt
new 67ae44d code cleaning and improve lsgan
new a43dfcc Merge pull request #773 from chrishkchris/opt
The 2108 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
examples/cnn/model/alexnet.py | 6 +-
examples/cnn/model/cnn.py | 4 +-
examples/cnn/model/resnet.py | 2 +-
examples/cnn/model/xceptionnet.py | 2 +-
examples/{rbm => gan}/README.md | 11 +-
examples/gan/lsgan.py | 186 +++++++++++++++
examples/gan/model/gan_mlp.py | 104 +++++++++
examples/gan/model/lsgan_mlp.py | 101 ++++++++
examples/gan/vanilla.py | 175 ++++++++++++++
examples/rbm/train.py | 16 +-
python/singa/autograd.py | 91 ++++++--
python/singa/layer.py | 60 +++++
python/singa/opt.py | 403 ++++++++++++++++++++++++++++++--
python/singa/optimizer.py | 474 --------------------------------------
src/api/model_optimizer.i | 71 ------
src/api/singa.i | 1 -
test/python/test_onnx.py | 8 +-
test/python/test_operation.py | 4 +-
test/python/test_opt.py | 76 +++++-
test/python/test_optimizer.py | 382 ------------------------------
20 files changed, 1181 insertions(+), 996 deletions(-)
copy examples/{rbm => gan}/README.md (76%)
create mode 100644 examples/gan/lsgan.py
create mode 100644 examples/gan/model/gan_mlp.py
create mode 100644 examples/gan/model/lsgan_mlp.py
create mode 100644 examples/gan/vanilla.py
delete mode 100644 python/singa/optimizer.py
delete mode 100644 src/api/model_optimizer.i
delete mode 100644 test/python/test_optimizer.py