File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
utensor_cgen/backend/utensor/snippets/templates/snippets/rearch Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 33
44 Input Tensors:
55 {%for tensor in input_tensors%}
6- {{tensor.name}}, of type {{tensor.dtype}}
6+ - {{tensor.name}}, of type {{tensor.dtype}}
77 {%endfor%}
88
99 Output Tensors:
1010 {%for tensor, var_name in zip(output_tensors, out_var_names)%}
11- {{tensor.name}} is of type {{tensor.dtype}} and should be named as {{var_name}}
11+ - {{tensor.name}} is of type {{tensor.dtype}}, shape {{tensor.shape }} and should be named as {{var_name}}
1212 {%if quant_params_map[tensor.name]%}
1313 quantization parameters:
1414 - zero point: {{quant_params_map[tensor.name]["zero_point"]["value"]}}, {{quant_params_map[tensor.name]["zero_point"]["type_str"]}}
1515 - scale: {{quant_params_map[tensor.name]["scale"]["value"]}}, {{quant_params_map[tensor.name]["scale"]["type_str"]}}
1616 - is per tensor quantization: {{quant_params_map[tensor.name]["is_per_tensor"]}}
1717 {%endif%}
1818 {%endfor%}
19- */
19+ */
20+ // Don't forget to comment this out when you fill up the missing op and tensors
21+ static_assert (false , " {{op_type}} is not currently supported. Read information above please." );
You can’t perform that action at this time.
0 commit comments