| op { |
| name: "RequantizePerChannel" |
| input_arg { |
| name: "input" |
| type_attr: "T" |
| } |
| input_arg { |
| name: "input_min" |
| type: DT_FLOAT |
| } |
| input_arg { |
| name: "input_max" |
| type: DT_FLOAT |
| } |
| input_arg { |
| name: "requested_output_min" |
| type: DT_FLOAT |
| } |
| input_arg { |
| name: "requested_output_max" |
| type: DT_FLOAT |
| } |
| output_arg { |
| name: "output" |
| type_attr: "out_type" |
| } |
| output_arg { |
| name: "output_min" |
| type: DT_FLOAT |
| } |
| output_arg { |
| name: "output_max" |
| type: DT_FLOAT |
| } |
| attr { |
| name: "T" |
| type: "type" |
| default_value { |
| type: DT_QINT32 |
| } |
| allowed_values { |
| list { |
| type: DT_QINT8 |
| type: DT_QUINT8 |
| type: DT_QINT32 |
| type: DT_QINT16 |
| type: DT_QUINT16 |
| } |
| } |
| } |
| attr { |
| name: "out_type" |
| type: "type" |
| default_value { |
| type: DT_QUINT8 |
| } |
| allowed_values { |
| list { |
| type: DT_QINT8 |
| type: DT_QUINT8 |
| type: DT_QINT32 |
| type: DT_QINT16 |
| type: DT_QUINT16 |
| } |
| } |
| } |
| } |