[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-12 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264957034 ## File path: python/singa/tensor.py ## @@ -107,9 +107,14 @@ def __init__(self, shape=(), device=None, dtype=float32,

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-12 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264956297 ## File path: python/singa/autograd.py ## @@ -614,10 +682,28 @@ def __call__(self, x): y = add_bias(y, self.b,

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-11 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264525670 ## File path: python/singa/sonnx.py ## @@ -319,14 +320,21 @@ def output_name(op):

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-11 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264525378 ## File path: python/singa/sonnx.py ## @@ -258,8 +258,8 @@ def to_onnx_model(inputs, y, model_name='sonnx'): dependency =

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-11 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264525214 ## File path: src/api/model_operation.i ## @@ -74,12 +74,16 @@ class CudnnConvHandle: public ConvHandle {

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-11 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264525240 ## File path: src/api/model_operation.i ## @@ -118,6 +123,14 @@ class CudnnPoolingHandle : public PoolingHandle { int

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-11 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264103343 ## File path: python/singa/tensor.py ## @@ -87,10 +87,10 @@ class Tensor(object): grad but not store

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-11 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264102137 ## File path: python/singa/sonnx.py ## @@ -325,7 +328,7 @@ def output_name(op, index):

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-11 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r26410 ## File path: python/singa/sonnx.py ## @@ -257,24 +255,28 @@ def to_onnx_model(inputs, y, model_name='sonnx'): the

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-11 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264102092 ## File path: python/singa/sonnx.py ## @@ -257,24 +255,28 @@ def to_onnx_model(inputs, y, model_name='sonnx'): the

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-10 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264080797 ## File path: examples/onnx/cnnonnx2singa.py ## @@ -105,19 +105,13 @@ def accuracy(pred, target): model =

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-10 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264080289 ## File path: python/singa/autograd.py ## @@ -1115,7 +1161,8 @@ def __init__(self, kernel_size, stride=None, padding=0):

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-10 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264080224 ## File path: python/singa/sonnx.py ## @@ -18,272 +18,359 @@ # - from __future__ import division -from singa import

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-10 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264080175 ## File path: python/singa/sonnx.py ## @@ -18,272 +18,359 @@ # - from __future__ import division -from singa import

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-10 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264080031 ## File path: python/singa/sonnx.py ## @@ -18,272 +18,359 @@ # - from __future__ import division -from singa import

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-10 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264079768 ## File path: python/singa/sonnx.py ## @@ -18,272 +18,359 @@ # - from __future__ import division -from singa import

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-10 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264079824 ## File path: python/singa/sonnx.py ## @@ -18,272 +18,359 @@ # - from __future__ import division -from singa import

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-10 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264079732 ## File path: python/singa/sonnx.py ## @@ -18,272 +18,359 @@ # - from __future__ import division -from singa import

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-10 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r264079692 ## File path: python/singa/sonnx.py ## @@ -18,272 +18,359 @@ # - from __future__ import division -from singa import

[GitHub] [incubator-singa] ShichengChen commented on a change in pull request #416: singa-onnx

2019-03-07 Thread GitBox
ShichengChen commented on a change in pull request #416: singa-onnx URL: https://github.com/apache/incubator-singa/pull/416#discussion_r263668103 ## File path: python/singa/sonnx.py ## @@ -0,0 +1,289 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or