Forums - hexagon nnlib : output tensor prep fail -9

1 post / 0 new
hexagon nnlib : output tensor prep fail -9
asimmons
Join Date: 7 May 19
Posts: 1
Posted: Tue, 2019-12-10 12:10

With Hexagon DSP SDK 3.4.3, I'm following the Tensorflow/Hexagon-NN example at examples/hexagon_nn/tutorials/007-tensorflow-to-hexagon-nn and using the Hexagon NN lib at libs/hexagon_nn/2.6.

I've converted my own TensorFlow net into iv3.c and built graph_app_q (with V=hexagon_ReleaseG_toolv83_v66).

I'm seeing a surprising runtime failure:

output tensor prep fail -9:  HIGH:0x5E:107:log.c
recalc strategy for v66 failed:  HIGH:0x5E:107:log.c
execute() failed on node id=1004a err=-1:  HIGH:0x5E:107:log.c
fail in execute_new():  HIGH:0x5E:107:log.c

 

The referenced node id corresponds to this line in the generated iv3.c:

 APPEND_NODE("net_0/Relu_3/eightbit",0x1004a,OP_QuantizedRelu_8,NN_PAD_NA,inputs_for_1004a,3,outputs_for_1004a,3);

 

I'm not sure what error code "-9" means.  How can I go about diagnosing this?  Are there any docs on the error codes?

 

  • Up0
  • Down0

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.