Skip to content

Commit 07197fb

Browse files
authored
add_op_extra: elementwise_add, mul (#33491)
1 parent 969ad85 commit 07197fb

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

paddle/fluid/operators/compat/elementwise_add.pbtxt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ def {
1515
}
1616
}
1717
extra {
18+
attrs {
19+
name: "out_threshold"
20+
type: FLOAT
21+
}
22+
attrs {
23+
name: "Out0_threshold"
24+
type: FLOAT
25+
}
1826
attrs {
1927
name: "x_data_format"
2028
type: STRING

paddle/fluid/operators/compat/mul.pbtxt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ def {
1919
}
2020
}
2121
extra {
22+
attrs {
23+
name: "Out0_threshold"
24+
type: FLOAT
25+
}
26+
attrs {
27+
name: "bit_length"
28+
type: INT
29+
}
30+
attrs {
31+
name: "quantization_type"
32+
type: STRING
33+
}
2234
attrs {
2335
name: "skip_quant"
2436
type: BOOLEAN

0 commit comments

Comments
 (0)