diff options
Diffstat (limited to 'frameworks/tflite/operators/mul_1x4x8x19_qu8')
6 files changed, 2267 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/mul_1x4x8x19_qu8/Conformance-TosaOutput_0.json b/frameworks/tflite/operators/mul_1x4x8x19_qu8/Conformance-TosaOutput_0.json new file mode 100644 index 000000000..cc9157167 --- /dev/null +++ b/frameworks/tflite/operators/mul_1x4x8x19_qu8/Conformance-TosaOutput_0.json @@ -0,0 +1,687 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 108, + 152, + 126, + 134, + 207, + 125, + 93, + 22, + 201, + 141, + 241, + 212, + 145, + 105, + 84, + 153, + 55, + 126, + 99 + ], + [ + 110, + 50, + 139, + 78, + 239, + 100, + 188, + 221, + 176, + 34, + 49, + 116, + 120, + 137, + 168, + 73, + 139, + 56, + 82 + ], + [ + 173, + 123, + 115, + 93, + 230, + 73, + 59, + 73, + 197, + 44, + 62, + 17, + 167, + 137, + 144, + 181, + 150, + 170, + 204 + ], + [ + 130, + 225, + 121, + 156, + 214, + 62, + 80, + 98, + 114, + 51, + 23, + 150, + 88, + 132, + 164, + 76, + 7, + 125, + 168 + ], + [ + 107, + 39, + 130, + 169, + 115, + 132, + 141, + 118, + 199, + 152, + 85, + 215, + 64, + 113, + 122, + 164, + 111, + 88, + 47 + ], + [ + 187, + 224, + 108, + 127, + 63, + 108, + 46, + 135, + 70, + 220, + 52, + 132, + 167, + 112, + 100, + 169, + 150, + 182, + 132 + ], + [ + 106, + 47, + 132, + 71, + 25, + 125, + 174, + 168, + 132, + 160, + 236, + 166, + 103, + 113, + 151, + 98, + 213, + 58, + 208 + ], + [ + 153, + 69, + 112, + 179, + 156, + 75, + 169, + 46, + 180, + 224, + 206, + 132, + 61, + 137, + 103, + 109, + 111, + 189, + 88 + ] + ], + [ + [ + 158, + 113, + 127, + 108, + 112, + 139, + 108, + 114, + 97, + 38, + 98, + 28, + 66, + 118, + 106, + 174, + 107, + 206, + 133 + ], + [ + 149, + 177, + 126, + 176, + 117, + 148, + 197, + 104, + 135, + 39, + 78, + 131, + 220, + 125, + 169, + 159, + 124, + 131, + 105 + ], + [ + 104, + 49, + 127, + 161, + 140, + 148, + 136, + 179, + 149, + 109, + 194, + 190, + 56, + 125, + 215, + 211, + 140, + 112, + 123 + ], + [ + 170, + 219, + 128, + 67, + 115, + 118, + 47, + 96, + 127, + 69, + 80, + 151, + 147, + 117, + 99, + 138, + 178, + 162, + 145 + ], + [ + 161, + 189, + 127, + 202, + 132, + 158, + 30, + 117, + 106, + 197, + 177, + 93, + 84, + 133, + 56, + 44, + 114, + 44, + 123 + ], + [ + 157, + 132, + 128, + 39, + 140, + 146, + 93, + 125, + 127, + 18, + 184, + 195, + 188, + 129, + 200, + 192, + 118, + 100, + 118 + ], + [ + 99, + 126, + 128, + 212, + 123, + 147, + 86, + 163, + 137, + 153, + 153, + 223, + 117, + 126, + 115, + 68, + 91, + 64, + 102 + ], + [ + 140, + 38, + 128, + 113, + 136, + 132, + 135, + 182, + 139, + 31, + 138, + 74, + 150, + 131, + 73, + 108, + 127, + 50, + 122 + ] + ], + [ + [ + 121, + 127, + 133, + 207, + 132, + 126, + 196, + 131, + 108, + 31, + 184, + 221, + 90, + 110, + 132, + 40, + 141, + 151, + 196 + ], + [ + 131, + 127, + 120, + 185, + 128, + 158, + 125, + 126, + 50, + 64, + 68, + 168, + 152, + 126, + 140, + 57, + 108, + 99, + 97 + ], + [ + 140, + 127, + 121, + 97, + 130, + 113, + 132, + 125, + 61, + 96, + 54, + 28, + 102, + 100, + 136, + 20, + 123, + 100, + 44 + ], + [ + 130, + 127, + 128, + 219, + 133, + 112, + 118, + 128, + 122, + 234, + 245, + 39, + 108, + 145, + 137, + 171, + 110, + 170, + 101 + ], + [ + 142, + 127, + 124, + 194, + 135, + 118, + 177, + 130, + 105, + 125, + 115, + 69, + 169, + 95, + 140, + 184, + 93, + 94, + 131 + ], + [ + 127, + 127, + 135, + 104, + 134, + 100, + 82, + 126, + 158, + 42, + 177, + 39, + 158, + 136, + 126, + 186, + 147, + 139, + 114 + ], + [ + 137, + 127, + 129, + 185, + 129, + 133, + 238, + 125, + 85, + 150, + 34, + 79, + 167, + 157, + 131, + 145, + 113, + 91, + 217 + ], + [ + 125, + 127, + 124, + 85, + 127, + 138, + 78, + 124, + 39, + 59, + 156, + 207, + 120, + 117, + 126, + 163, + 136, + 98, + 43 + ] + ], + [ + [ + 113, + 91, + 26, + 131, + 196, + 166, + 96, + 39, + 98, + 174, + 133, + 69, + 138, + 147, + 126, + 103, + 60, + 131, + 154 + ], + [ + 112, + 201, + 76, + 123, + 150, + 124, + 123, + 99, + 171, + 157, + 151, + 80, + 105, + 167, + 127, + 80, + 74, + 171, + 70 + ], + [ + 149, + 160, + 230, + 122, + 168, + 100, + 186, + 251, + 111, + 187, + 126, + 72, + 125, + 45, + 127, + 229, + 58, + 116, + 58 + ], + [ + 98, + 201, + 34, + 131, + 220, + 165, + 85, + 35, + 122, + 193, + 114, + 94, + 106, + 218, + 127, + 16, + 166, + 222, + 120 + ], + [ + 87, + 81, + 178, + 124, + 104, + 143, + 114, + 200, + 166, + 90, + 111, + 56, + 129, + 19, + 126, + 19, + 76, + 155, + 223 + ], + [ + 132, + 185, + 212, + 125, + 95, + 90, + 99, + 28, + 89, + 201, + 141, + 187, + 147, + 81, + 126, + 219, + 83, + 54, + 95 + ], + [ + 92, + 49, + 68, + 122, + 139, + 132, + 135, + 158, + 108, + 198, + 121, + 130, + 106, + 113, + 126, + 159, + 69, + 57, + 96 + ], + [ + 132, + 143, + 226, + 133, + 44, + 140, + 144, + 68, + 106, + 146, + 118, + 47, + 152, + 244, + 128, + 31, + 193, + 130, + 217 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/mul_1x4x8x19_qu8/desc.json b/frameworks/tflite/operators/mul_1x4x8x19_qu8/desc.json new file mode 100644 index 000000000..1cf690c2d --- /dev/null +++ b/frameworks/tflite/operators/mul_1x4x8x19_qu8/desc.json @@ -0,0 +1,21 @@ +{ + "tosa_file": "test_mul_1x4x8x19_qu8.json", + "ifm_name": [ + "TosaInput_0", + "TosaInput_1" + ], + "ifm_file": [ + "placeholder_0.npy", + "placeholder_1.npy" + ], + "ofm_name": [ + "TosaOutput_0" + ], + "ofm_file": [ + "output_0.npy" + ], + "expected_failure": false, + "expected_result_file": [ + "Conformance-TosaOutput_0.npy" + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/mul_1x4x8x19_qu8/model-tflite.json b/frameworks/tflite/operators/mul_1x4x8x19_qu8/model-tflite.json new file mode 100644 index 000000000..7f3b0dc98 --- /dev/null +++ b/frameworks/tflite/operators/mul_1x4x8x19_qu8/model-tflite.json @@ -0,0 +1,372 @@ +{ + version: 3, + operator_codes: [ + { + deprecated_builtin_code: 114, + version: 1, + builtin_code: "QUANTIZE" + }, + { + deprecated_builtin_code: 18, + version: 2, + builtin_code: "MUL" + } + ], + subgraphs: [ + { + tensors: [ + { + shape: [ + 1, + 4, + 8, + 19 + ], + type: "UINT8", + buffer: 1, + name: "serving_default_placeholder_0:0", + quantization: { + scale: [ + 0.015686 + ], + zero_point: [ + 127 + ], + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + }, + { + shape: [ + 1, + 4, + 1, + 19 + ], + type: "UINT8", + buffer: 2, + name: "serving_default_placeholder_1:0", + quantization: { + scale: [ + 0.015685 + ], + zero_point: [ + 128 + ], + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + }, + { + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + buffer: 3, + name: "tfl.quantize", + quantization: { + scale: [ + 0.015686 + ], + zero_point: [ + -1 + ], + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + }, + { + shape: [ + 1, + 4, + 1, + 19 + ], + type: "INT8", + buffer: 4, + name: "tfl.quantize1", + quantization: { + scale: [ + 0.015685 + ], + zero_point: [ + 0 + ], + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + }, + { + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + buffer: 5, + name: "PartitionedCall:01", + quantization: { + scale: [ + 0.031237 + ], + zero_point: [ + -1 + ], + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + }, + { + shape: [ + 1, + 4, + 8, + 19 + ], + type: "UINT8", + buffer: 6, + name: "PartitionedCall:0", + quantization: { + scale: [ + 0.031237 + ], + zero_point: [ + 127 + ], + details_type: "NONE", + quantized_dimension: 0 + }, + is_variable: false + } + ], + inputs: [ + 0, + 1 + ], + outputs: [ + 5 + ], + operators: [ + { + opcode_index: 0, + inputs: [ + 0 + ], + outputs: [ + 2 + ], + builtin_options_type: "NONE", + custom_options_format: "FLEXBUFFERS" + }, + { + opcode_index: 0, + inputs: [ + 1 + ], + outputs: [ + 3 + ], + builtin_options_type: "NONE", + custom_options_format: "FLEXBUFFERS" + }, + { + opcode_index: 1, + inputs: [ + 2, + 3 + ], + outputs: [ + 4 + ], + builtin_options_type: "MulOptions", + builtin_options: { + fused_activation_function: "NONE" + }, + custom_options_format: "FLEXBUFFERS" + }, + { + opcode_index: 0, + inputs: [ + 4 + ], + outputs: [ + 5 + ], + builtin_options_type: "NONE", + custom_options_format: "FLEXBUFFERS" + } + ], + name: "main" + } + ], + description: "MLIR Converted.", + buffers: [ + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + }, + { + data: [ + 49, + 46, + 49, + 52, + 46, + 48, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + data: [ + 12, + 0, + 0, + 0, + 8, + 0, + 14, + 0, + 8, + 0, + 4, + 0, + 8, + 0, + 0, + 0, + 16, + 0, + 0, + 0, + 40, + 0, + 0, + 0, + 0, + 0, + 6, + 0, + 8, + 0, + 4, + 0, + 6, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 235, + 3, + 0, + 0, + 0, + 0, + 10, + 0, + 16, + 0, + 12, + 0, + 8, + 0, + 4, + 0, + 10, + 0, + 0, + 0, + 3, + 0, + 0, + 0, + 2, + 0, + 0, + 0, + 4, + 0, + 0, + 0, + 5, + 0, + 0, + 0, + 50, + 46, + 57, + 46, + 48, + 0, + 0, + 0 + ] + } + ], + metadata: [ + { + name: "min_runtime_version", + buffer: 7 + }, + { + name: "CONVERSION_METADATA", + buffer: 8 + } + ], + signature_defs: [ + { + inputs: [ + { + name: "placeholder_0", + tensor_index: 0 + }, + { + name: "placeholder_1", + tensor_index: 1 + } + ], + outputs: [ + { + name: "output_0", + tensor_index: 5 + } + ], + method_name: "serving_default", + subgraph_index: 0 + } + ] +} diff --git a/frameworks/tflite/operators/mul_1x4x8x19_qu8/placeholder_0.json b/frameworks/tflite/operators/mul_1x4x8x19_qu8/placeholder_0.json new file mode 100644 index 000000000..77dc213cf --- /dev/null +++ b/frameworks/tflite/operators/mul_1x4x8x19_qu8/placeholder_0.json @@ -0,0 +1,687 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 88, + 158, + 120, + 112, + 46, + 123, + 77, + 249, + 237, + 145, + 2, + 222, + 96, + 237, + 254, + 173, + 52, + 126, + 168 + ], + [ + 93, + 31, + 209, + 230, + 14, + 76, + 216, + 17, + 200, + 7, + 212, + 115, + 140, + 78, + 6, + 31, + 139, + 0, + 193 + ], + [ + 222, + 122, + 49, + 197, + 23, + 24, + 28, + 190, + 232, + 20, + 198, + 4, + 57, + 74, + 76, + 224, + 151, + 204, + 13 + ], + [ + 134, + 249, + 86, + 67, + 39, + 2, + 59, + 161, + 107, + 28, + 241, + 153, + 195, + 101, + 18, + 35, + 2, + 124, + 66 + ], + [ + 86, + 17, + 144, + 40, + 139, + 137, + 148, + 137, + 235, + 160, + 173, + 225, + 237, + 197, + 142, + 194, + 110, + 57, + 245 + ], + [ + 250, + 248, + 2, + 126, + 191, + 91, + 9, + 118, + 42, + 247, + 209, + 133, + 57, + 202, + 207, + 202, + 151, + 225, + 119 + ], + [ + 84, + 27, + 160, + 244, + 230, + 124, + 195, + 79, + 134, + 170, + 8, + 170, + 169, + 197, + 55, + 76, + 216, + 3, + 7 + ], + [ + 180, + 55, + 25, + 18, + 98, + 27, + 188, + 221, + 206, + 253, + 41, + 133, + 241, + 75, + 199, + 94, + 110, + 237, + 184 + ] + ], + [ + [ + 49, + 142, + 141, + 152, + 23, + 79, + 150, + 152, + 254, + 37, + 82, + 8, + 209, + 195, + 156, + 66, + 80, + 24, + 100 + ], + [ + 70, + 74, + 73, + 63, + 57, + 46, + 42, + 170, + 93, + 38, + 52, + 132, + 3, + 140, + 68, + 86, + 120, + 122, + 218 + ], + [ + 186, + 210, + 127, + 83, + 217, + 46, + 116, + 28, + 34, + 109, + 230, + 203, + 222, + 144, + 3, + 18, + 157, + 147, + 145 + ], + [ + 17, + 30, + 207, + 206, + 42, + 160, + 224, + 186, + 129, + 68, + 55, + 156, + 100, + 206, + 167, + 113, + 250, + 81, + 50 + ], + [ + 40, + 61, + 147, + 29, + 163, + 7, + 244, + 146, + 217, + 198, + 203, + 86, + 184, + 79, + 227, + 234, + 97, + 236, + 146 + ], + [ + 51, + 122, + 191, + 242, + 222, + 55, + 168, + 130, + 129, + 16, + 214, + 209, + 45, + 114, + 24, + 43, + 105, + 162, + 166 + ], + [ + 199, + 128, + 196, + 16, + 99, + 49, + 176, + 59, + 83, + 153, + 167, + 242, + 141, + 135, + 144, + 204, + 41, + 210, + 234 + ], + [ + 95, + 221, + 211, + 145, + 188, + 109, + 117, + 23, + 75, + 29, + 144, + 64, + 96, + 93, + 203, + 152, + 126, + 228, + 149 + ] + ], + [ + [ + 83, + 88, + 43, + 239, + 187, + 130, + 202, + 234, + 151, + 31, + 189, + 237, + 28, + 63, + 168, + 37, + 96, + 55, + 34 + ], + [ + 157, + 142, + 219, + 208, + 136, + 5, + 125, + 106, + 227, + 64, + 63, + 175, + 194, + 122, + 245, + 55, + 167, + 210, + 168 + ], + [ + 230, + 172, + 218, + 85, + 163, + 181, + 132, + 84, + 213, + 96, + 48, + 11, + 62, + 23, + 207, + 17, + 136, + 206, + 239 + ], + [ + 149, + 109, + 120, + 255, + 208, + 188, + 117, + 152, + 134, + 234, + 255, + 23, + 77, + 195, + 216, + 172, + 163, + 1, + 162 + ], + [ + 248, + 40, + 172, + 220, + 234, + 164, + 181, + 210, + 156, + 125, + 114, + 59, + 238, + 5, + 249, + 186, + 201, + 224, + 121 + ], + [ + 130, + 145, + 18, + 95, + 221, + 233, + 78, + 96, + 87, + 42, + 181, + 23, + 210, + 162, + 118, + 188, + 84, + 92, + 145 + ], + [ + 205, + 195, + 99, + 208, + 153, + 104, + 247, + 81, + 182, + 150, + 26, + 70, + 233, + 241, + 165, + 146, + 157, + 232, + 6 + ], + [ + 110, + 213, + 174, + 69, + 123, + 85, + 74, + 51, + 241, + 59, + 159, + 221, + 109, + 87, + 120, + 164, + 108, + 212, + 241 + ] + ], + [ + [ + 167, + 78, + 7, + 210, + 59, + 8, + 63, + 38, + 45, + 203, + 153, + 212, + 76, + 106, + 226, + 155, + 31, + 122, + 154 + ], + [ + 170, + 228, + 67, + 46, + 104, + 137, + 118, + 99, + 252, + 176, + 228, + 195, + 230, + 85, + 172, + 181, + 50, + 70, + 69 + ], + [ + 61, + 172, + 249, + 23, + 86, + 209, + 247, + 252, + 82, + 225, + 122, + 207, + 137, + 213, + 102, + 10, + 28, + 141, + 57 + ], + [ + 212, + 228, + 17, + 220, + 35, + 11, + 40, + 34, + 112, + 235, + 70, + 175, + 226, + 32, + 126, + 254, + 183, + 4, + 120 + ], + [ + 244, + 64, + 188, + 70, + 150, + 80, + 100, + 201, + 238, + 67, + 60, + 230, + 116, + 240, + 226, + 250, + 53, + 91, + 225 + ], + [ + 112, + 206, + 228, + 93, + 159, + 240, + 69, + 27, + 19, + 247, + 185, + 39, + 32, + 175, + 206, + 22, + 63, + 222, + 94 + ], + [ + 231, + 20, + 57, + 19, + 115, + 113, + 143, + 158, + 74, + 242, + 102, + 123, + 227, + 142, + 207, + 90, + 44, + 218, + 96 + ], + [ + 112, + 149, + 244, + 248, + 209, + 87, + 162, + 68, + 68, + 158, + 90, + 244, + 11, + 4, + 12, + 237, + 222, + 123, + 218 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/mul_1x4x8x19_qu8/placeholder_1.json b/frameworks/tflite/operators/mul_1x4x8x19_qu8/placeholder_1.json new file mode 100644 index 000000000..680504045 --- /dev/null +++ b/frameworks/tflite/operators/mul_1x4x8x19_qu8/placeholder_1.json @@ -0,0 +1,99 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 190, + 230, + 147, + 67, + 2, + 194, + 215, + 19, + 213, + 226, + 12, + 242, + 55, + 103, + 85, + 199, + 250, + 199, + 42 + ] + ], + [ + [ + 78, + 8, + 130, + 31, + 146, + 95, + 23, + 61, + 98, + 253, + 211, + 234, + 33, + 112, + 38, + 30, + 181, + 31, + 98 + ] + ], + [ + [ + 144, + 128, + 119, + 219, + 138, + 96, + 245, + 133, + 30, + 255, + 245, + 236, + 176, + 161, + 142, + 251, + 69, + 85, + 34 + ] + ], + [ + [ + 85, + 221, + 235, + 134, + 0, + 86, + 190, + 254, + 173, + 206, + 158, + 41, + 101, + 7, + 127, + 17, + 216, + 30, + 253 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/frameworks/tflite/operators/mul_1x4x8x19_qu8/test_mul_1x4x8x19_qu8.json b/frameworks/tflite/operators/mul_1x4x8x19_qu8/test_mul_1x4x8x19_qu8.json new file mode 100644 index 000000000..cb238fe64 --- /dev/null +++ b/frameworks/tflite/operators/mul_1x4x8x19_qu8/test_mul_1x4x8x19_qu8.json @@ -0,0 +1,401 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + 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_1" + ], + outputs: [ + "layer_0" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 127, + output_zp: -1, + 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: -1, + output_zp: -1, + 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: true, + per_channel: false + }, + inputs: [ + "layer_0" + ], + outputs: [ + "layer_3" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: -1, + output_zp: 0, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "layer_2" + ], + outputs: [ + "layer_4" + ] + }, + { + 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_3" + ], + outputs: [ + "layer_5" + ] + }, + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 0 + }, + inputs: [ + "layer_4", + "layer_5" + ], + outputs: [ + "layer_6" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: -1, + multiplier: [ + 1082504064 + ], + shift: [ + 37 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_6" + ], + outputs: [ + "layer_7" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: -1, + output_zp: -1, + 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: -1, + output_zp: 127, + multiplier: [ + 1073741824 + ], + shift: [ + 30 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "layer_8" + ], + outputs: [ + "TosaOutput_0" + ] + } + ], + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "UINT8", + data: [ + + ] + }, + { + name: "TosaInput_1", + shape: [ + 1, + 4, + 1, + 19 + ], + type: "UINT8", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "UINT8", + data: [ + + ] + }, + { + name: "layer_0", + shape: [ + 1, + 4, + 1, + 19 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_1", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_2", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_3", + shape: [ + 1, + 4, + 1, + 19 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_4", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_5", + shape: [ + 1, + 4, + 1, + 19 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_6", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_7", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_8", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT8", + data: [ + + ] + } + ], + inputs: [ + "TosaInput_0", + "TosaInput_1" + ], + outputs: [ + "TosaOutput_0" + ] + } + ] +} |