cancel
Showing results for 
Search instead for 
Did you mean: 

N6 certain layers not run on the npu even though they are supported

M_Benz
Associate II

Hey,

I am trying to run a model on the n6 npu.

Currently most layers are run on the npu as the should but there are some layers which are executed on the SW target, even though the documentation states that the layer should be HW supported (in this case its the HardSigmoid layer). Changing the activation to a Sigmoid layer will make it run on the HW side. I thought it could be the case since in the documentation it states that sigmoid supports X*Sigmoid(X) and the problem layer is at a skip connection but i have early occurrences of the exact same HardSigmoid Skip connection pattern which are executed on the HW. Its only 2 of these blocks that are executed on the SW. Is this a bug or intential due to some optimization being done by the compiler.

I attached an image of the model graph and Cube AI Analyze output.

Thanks in advance

0 REPLIES 0