{ version: { _major: 0, _minor: 50, _patch: 0, _draft: false }, blocks: [ { name: "main", operators: [ { op: "CONST", attribute_type: "NONE", inputs: [ ], outputs: [ "layer_0" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: 128, output_zp: 0, multiplier: [ 1073741824 ], shift: [ 30 ], scale32: true, double_round: false, per_channel: false }, inputs: [ "TosaInput_0" ], outputs: [ "layer_1" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: 0, output_zp: 0, multiplier: [ 1073741824 ], shift: [ 30 ], scale32: true, double_round: true, per_channel: false }, inputs: [ "layer_1" ], outputs: [ "layer_2" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: 0, output_zp: 0, multiplier: [ 1073741824 ], shift: [ 30 ], scale32: true, double_round: false, per_channel: false }, inputs: [ "layer_2" ], outputs: [ "layer_3" ] }, { op: "GREATER_EQUAL", attribute_type: "NONE", inputs: [ "layer_3", "layer_0" ], outputs: [ "layer_4" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: 0, output_zp: -59, multiplier: [ 1161439717 ], shift: [ 31 ], scale32: true, double_round: true, per_channel: false }, inputs: [ "layer_2" ], outputs: [ "layer_5" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: 0, output_zp: -59, multiplier: [ 1566764647 ], shift: [ 30 ], scale32: true, double_round: true, per_channel: false }, inputs: [ "layer_2" ], outputs: [ "layer_6" ] }, { op: "SELECT", attribute_type: "NONE", inputs: [ "layer_4", "layer_6", "layer_5" ], outputs: [ "layer_7" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: -59, output_zp: -59, multiplier: [ 1073741824 ], shift: [ 30 ], scale32: true, double_round: true, per_channel: false }, inputs: [ "layer_7" ], outputs: [ "layer_8" ] }, { op: "RESCALE", attribute_type: "RescaleAttribute", attribute: { input_zp: -59, output_zp: 69, multiplier: [ 1073741824 ], shift: [ 30 ], scale32: true, double_round: false, per_channel: false }, inputs: [ "layer_8" ], outputs: [ "TosaOutput_0" ] } ], tensors: [ { name: "TosaInput_0", shape: [ 13, 21, 3 ], type: "UINT8", data: [ ] }, { name: "TosaOutput_0", shape: [ 13, 21, 3 ], type: "UINT8", data: [ ] }, { name: "layer_0", shape: [ 1, 1, 1 ], type: "INT32", data: [ 0, 0, 0, 0, 0, 0, 0, 0 ] }, { name: "layer_1", shape: [ 13, 21, 3 ], type: "INT8", data: [ ] }, { name: "layer_2", shape: [ 13, 21, 3 ], type: "INT8", data: [ ] }, { name: "layer_3", shape: [ 13, 21, 3 ], type: "INT32", data: [ ] }, { name: "layer_4", shape: [ 13, 21, 3 ], type: "BOOL", data: [ ] }, { name: "layer_5", shape: [ 13, 21, 3 ], type: "INT8", data: [ ] }, { name: "layer_6", shape: [ 13, 21, 3 ], type: "INT8", data: [ ] }, { name: "layer_7", shape: [ 13, 21, 3 ], type: "INT8", data: [ ] }, { name: "layer_8", shape: [ 13, 21, 3 ], type: "INT8", data: [ ] } ], inputs: [ "TosaInput_0" ], outputs: [ "TosaOutput_0" ] } ] }