Skip to content

Conversation

@sighingnow
Copy link
Contributor

More exports:

  • sum
  • prod
  • sqrt

Improve:

  • log_softmax

Doc:

  • Fix a URL typo in docs/source/onnx.rst

Signed-off-by: HE, Tao <sighingnow@gmail.com>
@houseroad
Copy link
Member

Could you also add the onnx tests in https://github.com/onnxbot/onnx-fb-universe/blob/master/test/test_operators.py?

@ezyang
Copy link
Contributor

ezyang commented Jan 10, 2018

@pytorchbot test this please

This is so legit! Thank you!

@ezyang
Copy link
Contributor

ezyang commented Jan 10, 2018

The test output needs updating. It's as simple as running python test/test_jit.py --accept.



def sqrt(g, self):
return g.op('Sqrt', self)

This comment was marked as off-topic.

This comment was marked as off-topic.

Signed-off-by: HE, Tao <sighingnow@gmail.com>
Signed-off-by: HE, Tao <sighingnow@gmail.com>
@sighingnow
Copy link
Contributor Author

Update trace log for log_softmax.

Signed-off-by: HE, Tao <sighingnow@gmail.com>
@sighingnow
Copy link
Contributor Author

Update axis_i to "list of ints", according to the onnx's doc: https://github.com/onnx/onnx/blob/master/docs/Operators.md#attributes-48

Signed-off-by: HE, Tao <sighingnow@gmail.com>
@sighingnow
Copy link
Contributor Author

Onnx test done in onnxbot/onnx-fb-universe#247

/cc: @houseroad

@sighingnow
Copy link
Contributor Author

@pytorchbot retest this please

1 similar comment
@soumith
Copy link
Contributor

soumith commented Jan 11, 2018

@pytorchbot retest this please

Signed-off-by: HE, Tao <sighingnow@gmail.com>
@sighingnow
Copy link
Contributor Author

Line ends fixed.

@soumith soumith merged commit b42f163 into pytorch:master Jan 12, 2018
@soumith
Copy link
Contributor

soumith commented Jan 12, 2018

thank you @sighingnow !

ezyang pushed a commit to ezyang/pytorch that referenced this pull request Feb 10, 2018
* ONNX: export sum, prod, sqrt improve log_softmax and fix a typo in doc.

Signed-off-by: HE, Tao <sighingnow@gmail.com>

* Add new exported op to doc.

Signed-off-by: HE, Tao <sighingnow@gmail.com>

* Double quotes.

Signed-off-by: HE, Tao <sighingnow@gmail.com>

* Update trace log of log_softmax.

Signed-off-by: HE, Tao <sighingnow@gmail.com>

* Improve export when dim is None and axes_i should be a list of ints.

Signed-off-by: HE, Tao <sighingnow@gmail.com>

* Fix prod when no dim given.

Signed-off-by: HE, Tao <sighingnow@gmail.com>

* Update line ends in test expected file.

Signed-off-by: HE, Tao <sighingnow@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants