forked from onnx/tensorflow-onnx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
trimmed_keras2onnx_unit_test.yml
74 lines (63 loc) · 1.98 KB
/
trimmed_keras2onnx_unit_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Tests copied from keras2onnx
jobs:
- job: 'Linux'
pool:
vmImage: 'ubuntu-latest'
strategy:
matrix:
############ TF Keras Unit Tests ############
Python36-tf1.15:
python.version: '3.6'
ONNX_PATH: onnx==1.10.2
TENSORFLOW_PATH: tensorflow==1.15.0
INSTALL_ORT: pip install onnxruntime==1.9.0
Python38-tf2.5:
python.version: '3.8'
ONNX_PATH: onnx==1.10.2
TENSORFLOW_PATH: tensorflow-cpu==2.5.0
INSTALL_ORT: pip install onnxruntime==1.9.0
############ Pure Keras Unit Tests ############
Keras-Py37-tf1.15.0:
python.version: '3.7'
ONNX_PATH: onnx==1.10.2
KERAS: keras==2.4.3
TENSORFLOW_PATH: tensorflow==1.15.0
INSTALL_ORT: pip install onnxruntime==1.9.0
# UT for keras 2.3 need tensorflow <= 2.0.0
Keras-Py37-tf2.0.0:
python.version: '3.7'
ONNX_PATH: onnx==1.10.2
KERAS: keras==2.3.1
TENSORFLOW_PATH: tensorflow==2.0.0
INSTALL_ORT: pip install onnxruntime==1.9.0
steps:
- template: 'templates/keras2onnx_unit_test.yml'
parameters:
platform: 'linux'
- job: 'Win'
pool:
vmImage: 'vs2017-win2016'
strategy:
matrix:
############ TF Keras Unit Tests ############
Python36-tf-1.15:
python.version: '3.6'
ONNX_PATH: onnx==1.10.2
TENSORFLOW_PATH: tensorflow==1.15.0
INSTALL_ORT: pip install onnxruntime==1.9.0
Python37-tf2.3:
python.version: '3.7'
ONNX_PATH: onnx==1.10.2
TENSORFLOW_PATH: tensorflow-cpu==2.3.0
INSTALL_ORT: pip install onnxruntime==1.9.0
############ Pure Keras Unit Tests ############
Keras-Py37-tf2.2.0:
python.version: '3.7'
ONNX_PATH: onnx==1.10.2
KERAS: keras==2.4.3
TENSORFLOW_PATH: tensorflow==2.2.0
INSTALL_ORT: pip install onnxruntime==1.9.0
steps:
- template: 'templates/keras2onnx_unit_test.yml'
parameters:
platform: 'windows'