This is an automated email from the ASF dual-hosted git repository.
wangwei pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-singa.git.
from 650f52a Merge pull request #443 from dbxinj/SINGA-434
new 92393d7 SINGA-333 singa-onnx c type files
new 7f654d6 SINGA-333 singa-onnx python type files
new 4e7b070 SINGA-333 singa-onnx example
new 9c6bd09 Merge pull request #444 from ShichengChen/SINGA-333
The 1119 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:
CMakeLists.txt | 6 +-
examples/autograd/mlp.py | 20 +-
examples/autograd/mnist_cnn.py | 67 +-
examples/onnx/backend.py | 46 ++
examples/onnx/cnn.py | 196 +++++
examples/onnx/mlp.py | 164 ++++
.../tensor => include/singa/utils}/stacktrace.h | 0
python/singa/autograd.py | 908 +++++++++++++--------
python/singa/opt.py | 1 +
python/singa/sonnx.py | 479 +++++++++++
python/singa/tensor.py | 15 +-
src/api/model_operation.i | 39 +-
src/core/tensor/tensor.cc | 3 +-
src/model/operation/batchnorm.cc | 201 ++---
src/model/operation/batchnorm.h | 36 +-
src/model/operation/convolution.cc | 95 ++-
src/model/operation/convolution.h | 21 +-
src/model/operation/pooling.cc | 96 +--
src/model/operation/pooling.h | 14 +-
tool/conda/singa/meta.yaml | 1 +
20 files changed, 1790 insertions(+), 618 deletions(-)
create mode 100644 examples/onnx/backend.py
create mode 100755 examples/onnx/cnn.py
create mode 100644 examples/onnx/mlp.py
rename {src/core/tensor => include/singa/utils}/stacktrace.h (100%)
mode change 100755 => 100644 python/singa/autograd.py
create mode 100755 python/singa/sonnx.py