Forums - snpe-onnx-to-dlc GRU layer not supported

2 posts / 0 new
Last post
snpe-onnx-to-dlc GRU layer not supported
niccolo.bellaccini
Join Date: 10 Feb 22
Posts: 6
Posted: Fri, 2022-07-22 03:39
Hi everyone, 
 
I tried to convert a.onnx model into the .dlc format using the snpe-dlc-to-onnx (version 1.61) but I got this error after the model was simplified:
 
ERROR - Node GRU_83: 'No translation registered for op type onnx_gru. Op is most likely not supported by the converter.'
 
The list of supported ONNX Ops ( https://developer.qualcomm.com/sites/default/files/docs/snpe/supported_onnx_ops.html ) provided by the SNPE documentation reports that GRU should be supported.
 
Is actually GRU operation (layer) supported by the onnx converter? If not, is this supported by other dlc frameworks converter?
  • Up0
  • Down0
sanjjey.a.sanjjey
Join Date: 17 May 22
Posts: 55
Posted: Wed, 2022-07-27 00:00

Hi,

If the layer is not supported for conversion, Once try to create custom operation for the unsupported layer in the JSON format, after creating JSON file use the command --udo_config_paths followed by your JSON path and try to do the conversion.

Please check the below link for more details, it maybe helpfull for you.

https://developer.qualcomm.com/sites/default/files/docs/snpe/udo_package...

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.