-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ac27a9
commit 1c45690
Showing
3 changed files
with
260 additions
and
0 deletions.
There are no files selected for viewing
101 changes: 101 additions & 0 deletions
101
src/frontends/onnx/tests/models/com.microsoft/q_linear_leaky_relu.prototxt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
ir_version: 3 | ||
producer_name: "OpenVINO ONNX Frontend" | ||
producer_version: "" | ||
model_version: 0 | ||
graph { | ||
name: "test_qlinear_leakyrelu" | ||
|
||
node { | ||
input: "X" | ||
input: "X_scale" | ||
input: "X_zero_point" | ||
input: "Y_scale" | ||
input: "Y_zero_point" | ||
output: "Y" | ||
op_type: "QLinearLeakyRelu" | ||
attribute { | ||
name: "alpha" | ||
f: 0.1 | ||
type: FLOAT | ||
} | ||
domain: "com.microsoft" | ||
} | ||
|
||
input { | ||
name: "X" | ||
type { | ||
tensor_type { | ||
elem_type: 3 | ||
shape { | ||
dim { dim_value: 2 } | ||
dim { dim_value: 3 } | ||
} | ||
} | ||
} | ||
} | ||
|
||
input { | ||
name: "X_scale" | ||
type { | ||
tensor_type { | ||
elem_type: 1 # float | ||
shape { | ||
dim { dim_value: 1 } | ||
} | ||
} | ||
} | ||
} | ||
|
||
input { | ||
name: "X_zero_point" | ||
type { | ||
tensor_type { | ||
elem_type: 3 | ||
shape { | ||
dim { dim_value: 1 } | ||
} | ||
} | ||
} | ||
} | ||
|
||
input { | ||
name: "Y_scale" | ||
type { | ||
tensor_type { | ||
elem_type: 1 | ||
shape { | ||
dim { dim_value: 1 } | ||
} | ||
} | ||
} | ||
} | ||
|
||
input { | ||
name: "Y_zero_point" | ||
type { | ||
tensor_type { | ||
elem_type: 3 | ||
shape { | ||
dim { dim_value: 1 } | ||
} | ||
} | ||
} | ||
} | ||
|
||
output { | ||
name: "Y" | ||
type { | ||
tensor_type { | ||
elem_type: 3 | ||
shape { | ||
dim { dim_value: 2 } | ||
dim { dim_value: 3 } | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
opset_import { | ||
version: 1 | ||
} |
112 changes: 112 additions & 0 deletions
112
src/frontends/onnx/tests/models/com.microsoft/q_linear_sigmoid.prototxt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
ir_version: 3 | ||
producer_name: "OpenVINO ONNX Frontend" | ||
producer_version: "" | ||
model_version: 0 | ||
graph { | ||
name: "test_qlinear_sigmoid" | ||
|
||
node { | ||
input: "X" | ||
input: "X_scale" | ||
input: "X_zero_point" | ||
input: "Y_scale" | ||
input: "Y_zero_point" | ||
output: "Y" | ||
op_type: "QLinearSigmoid" | ||
domain: "com.microsoft" | ||
} | ||
|
||
input { | ||
name: "X" | ||
type { | ||
tensor_type { | ||
elem_type: 3 | ||
shape { | ||
dim { | ||
dim_value: 2 | ||
} | ||
dim { | ||
dim_value: 3 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
input { | ||
name: "X_scale" | ||
type { | ||
tensor_type { | ||
elem_type: 1 | ||
shape { | ||
dim { | ||
dim_value: 1 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
input { | ||
name: "X_zero_point" | ||
type { | ||
tensor_type { | ||
elem_type: 3 | ||
shape { | ||
dim { | ||
dim_value: 1 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
input { | ||
name: "Y_scale" | ||
type { | ||
tensor_type { | ||
elem_type: 1 | ||
shape { | ||
dim { | ||
dim_value: 1 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
input { | ||
name: "Y_zero_point" | ||
type { | ||
tensor_type { | ||
elem_type: 3 | ||
shape { | ||
dim { | ||
dim_value: 1 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
output { | ||
name: "Y" | ||
type { | ||
tensor_type { | ||
elem_type: 3 | ||
shape { | ||
dim { | ||
dim_value: 2 | ||
} | ||
dim { | ||
dim_value: 3 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
opset_import { | ||
version: 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters