Skip to content

Commit afc7574

Browse files
houseroadfacebook-github-bot
authored andcommitted
Automatic update of fbcode/onnx to c05f2ae412daf8fd64136ca354b97ccf73e0ea6c (pytorch#18285)
Summary: Pull Request resolved: pytorch#18285 Previous import was 96c58ceeacf0f2b73d752e413e4fd78787a12da3 Included changes: - **[c05f2ae4](onnx/onnx@c05f2ae4)**: update both core and ml docs (pytorch#1879) <Lu Fang> - **[f895279b](onnx/onnx@f895279b)**: fix the problems introduced in previous PRs in operator registration (pytorch#1878) <Lu Fang> - **[f6f80657](onnx/onnx@f6f80657)**: Skip the schema check on ops in non-standard domain (pytorch#1876) <Lu Fang> - **[8c8be722](onnx/onnx@8c8be722)**: Introduce Function Body Helper (pytorch#1868) <Sherlock> - **[b605eafb](onnx/onnx@b605eafb)**: Support down sampling for Upsample with scales < 1. (pytorch#1773) <Ke Zhang> - **[47f7aa71](onnx/onnx@47f7aa71)**: Remove scaledtanh (pytorch#1866) <Ashwini Khade> - **[4dfc56de](onnx/onnx@4dfc56de)**: Add Ceil support for Max and Average Pooling (pytorch#1860) <Lara Haidar> - **[552a8efc](onnx/onnx@552a8efc)**: Add testcase generator for functions (pytorch#1862) <Raymond Yang> - **[fdb978a5](onnx/onnx@fdb978a5)**: Promote Thresholded Relu Op (pytorch#1856) <Ashwini Khade> - **[ce332628](onnx/onnx@ce332628)**: Update Slice with dynamic input & optional input steps (pytorch#1836) <Bowen Bao> - **[3a9a8787](onnx/onnx@3a9a8787)**: Merge function into opschema (pytorch#1834) <Raymond Yang> - **[3dbf8fe9](onnx/onnx@3dbf8fe9)**: Handle string comparision represented as np.objects (pytorch#1851) <Dmitri Smirnov> - **[3b0d3bb2](onnx/onnx@3b0d3bb2)**: remove global variable in header file (pytorch#1850) <Lu Fang> - **[1cca8733](onnx/onnx@1cca8733)**: bump the version for drop out - fix the issue that the version was not bumped when changing its type constraint declaration. (pytorch#1848) <Ke Zhang> - **[1ec81bc6](onnx/onnx@1ec81bc6)**: Change TopK operator to allow dynamic 'k' (pytorch#1829) <Hariharan Seshadri> - **[a89a4a16](onnx/onnx@a89a4a16)**: Remove exp op: Affine, ImageScaler,ParametricSoftplus, Crop. (pytorch#1832) <Ke Zhang> Reviewed By: yinghai Differential Revision: D14566202 fbshipit-source-id: b1e5912ae6887e2865fc628363071e2b9938dfa4
1 parent f79eac2 commit afc7574

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

caffe2/python/onnx/tests/conversion_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ def test_onnx_to_caffe2_if(self):
206206
[3, 2],
207207
W.tolist())]
208208
)
209-
model_def = helper.make_model(graph_def, producer_name='onnx-to-caffe2-test')
209+
onnx_id = helper.make_opsetid("", 9)
210+
model_def = helper.make_model(graph_def, producer_name='onnx-to-caffe2-test',
211+
opset_imports=[onnx_id])
210212

211213
p = c2.prepare(model_def)
212214
Y = np.matmul(X, W.reshape(3, 2))

caffe2/python/onnx/tests/onnx_backend_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
'|test_prelu.*' # PRelu is not compliant with ONNX yet
3838
'|test_operator_repeat.*' # Tile is not compliant with ONNX yet
3939
'|test_.*pool_.*same.*' # Does not support pool same.
40+
'|test_.*pool_.*ceil.*' # Does not support pool same.
4041
'|test_maxpool_with_argmax.*' # MaxPool outputs indices in different format.
4142
'|test_convtranspose.*' # ConvTranspose needs some more complicated translation
4243
'|test_mvn.*' # MeanVarianceNormalization is experimental and not supported.
@@ -56,6 +57,9 @@
5657
'|test_strnorm.*' # Needs implementation
5758
'|test_nonzero.*' # Needs implementation
5859
'|test_tfidfvectorizer.*' # Needs implementation
60+
'|test_top_k.*' # opset 10 is not supported yet
61+
'|test_resize.*' # opset 10 is not supported yet
62+
'|test_slice.*' # opset 10 is not supported yet
5963
')')
6064

6165
# Quick patch to unbreak master CI, is working on the debugging.

third_party/onnx

Submodule onnx updated 131 files

0 commit comments

Comments
 (0)