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 bc5df6e Merge pull request #598 from XJDKC/SoftMax_Algorithm
new 42b25f4 format on latest dev
new a31511d updated clang-format version to sync with other OS
new 4739c6e test onnx backend different result
new 3d842f8 added model operation and nccl in io
new 1123c77 updated format shell script for extra files
new ee69cc8 Merge pull request #603 from dcslin/format2
The 1640 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/autograd/mnist_cnn.py | 4 +-
examples/autograd/resnet_cifar10.py | 4 +-
include/singa/core/common.h | 14 +--
include/singa/core/device.h | 5 +-
include/singa/core/memory.h | 1 +
include/singa/core/tensor.h | 2 +-
include/singa/io/communicator.h | 12 +-
include/singa/utils/channel.h | 38 +++---
include/singa/utils/cuda_utils.h | 20 ++--
include/singa/utils/dnnl_utils.h | 47 ++++----
include/singa/utils/factory.h | 42 +++----
include/singa/utils/integer.h | 2 +-
include/singa/utils/logging.h | 39 +++---
include/singa/utils/opencl_utils.h | 39 +++---
include/singa/utils/safe_queue.h | 38 +++---
include/singa/utils/singleton.h | 38 +++---
include/singa/utils/string.h | 39 +++---
include/singa/utils/timer.h | 2 +-
include/singa/utils/tinydir.h | 11 +-
src/core/device/cpp_cpu.cc | 7 +-
src/core/device/cuda_gpu.cc | 2 +
src/core/device/platform.cc | 1 +
src/core/memory/memory.cc | 4 +-
src/core/tensor/math_kernel.h | 41 +++----
src/core/tensor/tensor.cc | 199 ++++++++++++++++++-------------
src/core/tensor/tensor_math.h | 1 +
src/core/tensor/tensor_math_cpp.h | 2 +
src/core/tensor/tensor_math_cuda.h | 6 +-
src/core/tensor/tensor_math_opencl.h | 16 ++-
src/io/communicator.cc | 6 +-
src/model/operation/batchnorm.cc | 44 ++++---
src/model/operation/batchnorm.h | 38 +++---
src/model/operation/convolution.cc | 41 +++----
src/model/operation/convolution.h | 38 +++---
src/model/operation/pooling.cc | 39 +++---
src/model/operation/pooling.h | 59 +++++----
src/utils/channel.cc | 38 +++---
src/utils/logging.cc | 38 +++---
test/python/test_onnx_backend.py | 47 ++++----
test/python/test_operation.py | 92 +++++++++-----
test/singa/test_accuracy.cc | 38 +++---
test/singa/test_activation.cc | 39 +++---
test/singa/test_adagrad.cc | 39 +++---
test/singa/test_batchnorm.cc | 39 +++---
test/singa/test_binfile_rw.cc | 38 +++---
test/singa/test_channel.cc | 38 +++---
test/singa/test_concat.cc | 38 +++---
test/singa/test_convolution.cc | 39 +++---
test/singa/test_cpp_cpu.cc | 40 +++----
test/singa/test_cross_entropy.cc | 38 +++---
test/singa/test_csv.cc | 39 +++---
test/singa/test_cudnn_activation.cc | 39 +++---
test/singa/test_cudnn_batchnorm.cc | 38 +++---
test/singa/test_cudnn_convolution.cc | 38 +++---
test/singa/test_cudnn_dropout.cc | 38 +++---
test/singa/test_cudnn_lrn.cc | 38 +++---
test/singa/test_cudnn_pooling.cc | 38 +++---
test/singa/test_cudnn_rnn.cc | 38 +++---
test/singa/test_cudnn_softmax.cc | 39 +++---
test/singa/test_dense.cc | 38 +++---
test/singa/test_dropout.cc | 38 +++---
test/singa/test_ep.cc | 40 ++++---
test/singa/test_flatten.cc | 38 +++---
test/singa/test_image_transformer.cc | 40 ++++---
test/singa/test_jpg.cc | 39 +++---
test/singa/test_lmdb_rw.cc | 38 +++---
test/singa/test_logging.cc | 38 +++---
test/singa/test_lrn.cc | 38 +++---
test/singa/test_memory.cc | 38 +++---
test/singa/test_mse.cc | 38 +++---
test/singa/test_nesterov.cc | 38 +++---
test/singa/test_opencl.cc | 40 +++----
test/singa/test_opencl_convolution.cc | 39 +++---
test/singa/test_opencl_device.cc | 40 +++----
test/singa/test_opencl_pooling.cc | 39 +++---
test/singa/test_operation_batchnorm.cc | 67 ++++++-----
test/singa/test_operation_convolution.cc | 54 ++++-----
test/singa/test_operation_pooling.cc | 44 ++++---
test/singa/test_platform.cc | 1 +
test/singa/test_pooling.cc | 39 +++---
test/singa/test_prelu.cc | 38 +++---
test/singa/test_rmsprop.cc | 39 +++---
test/singa/test_sgd.cc | 38 +++---
test/singa/test_slice.cc | 38 +++---
test/singa/test_snapshot.cc | 38 +++---
test/singa/test_softmax.cc | 41 +++----
test/singa/test_tensor.cc | 4 +-
test/singa/test_tensor_math.cc | 10 +-
test/singa/test_textfile_rw.cc | 38 +++---
tool/code-format/format.sh | 15 ++-
90 files changed, 1545 insertions(+), 1465 deletions(-)