diff --git a/paddle/fluid/operators/compat/elementwise_add.pbtxt b/paddle/fluid/operators/compat/elementwise_add.pbtxt index 3e96147ef88ebba13e9c26e4ef164bc2e9231358..6a3d0a9b3a13114e68823b88f883855cb4cac010 100644 --- a/paddle/fluid/operators/compat/elementwise_add.pbtxt +++ b/paddle/fluid/operators/compat/elementwise_add.pbtxt @@ -15,6 +15,14 @@ def { } } extra { + attrs { + name: "out_threshold" + type: FLOAT + } + attrs { + name: "Out0_threshold" + type: FLOAT + } attrs { name: "x_data_format" type: STRING diff --git a/paddle/fluid/operators/compat/mul.pbtxt b/paddle/fluid/operators/compat/mul.pbtxt index b40c05ad2e0333356163f2b9ba7b8890037d4bd9..617775eaaae9e7b7754fb3e19323063e3d5f20db 100644 --- a/paddle/fluid/operators/compat/mul.pbtxt +++ b/paddle/fluid/operators/compat/mul.pbtxt @@ -19,6 +19,18 @@ def { } } extra { + attrs { + name: "Out0_threshold" + type: FLOAT + } + attrs { + name: "bit_length" + type: INT + } + attrs { + name: "quantization_type" + type: STRING + } attrs { name: "skip_quant" type: BOOLEAN