This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-DRA8X-TDA4X: [TIDL]BlackList in checkInnerProductLayers()

Part Number: PROCESSOR-SDK-DRA8X-TDA4X

Hello,

checkInnerProductLayers() has following code.
      /*
       * Blacklist (confirmed not support)
       */
      if(layer.inData[0].dimValues[0] != 1 ||
         layer.inData[0].dimValues[1] != 1 ||
         layer.inData[0].dimValues[2] != 1)
      {
        fatalError = true;
        printf("ERROR  : [TIDL_InnerProductLayer] %s input shape of inner product must be 1x1x1xN.\n", layerPC.name);
      }

Does it mean TIDL inner product doesn't support mutiple ROI inputs? 

Best regards,

WIlson.

  • Hi Wilson,

    It means that the input layer must be flattened into a 1-D vector. Multiple ROI should still be supported as number of ROI would correspond to layer.inData[0].dimValues[3].

    regards,

    Victor

  • (This post was edited due to my misunderstanding.)

    Hi Victor,

    Could you explain in more detail?

    In my understanding, Input size must must be (ROI number) * (size of one ROI).

    If dimValues[3] has number of ROI and others are 1, then how to give (size of of one ROI)?

    Another code I can't understand is TIDL_tfOutReshapeIPLayer() 

      int32_t dataSize;
    
      dataSize = innerProductParams.numOutNodes *
                 TIDLPCLayers.inData[0].dimValues[0] *
                 TIDLPCLayers.inData[0].dimValues[1] *
                 TIDLPCLayers.inData[0].dimValues[2] *
                 TIDLPCLayers.inData[0].dimValues[3];
    
      if(TIDLPCLayers.weights.ptr == NULL ||
         TIDLPCLayers.weights.bufSize != dataSize)

    Weight number is numOutNdoes * (size of one ROI), so dimValues[3] can't have number of ROI.

    Stay safe and healthy

    Best regards,

    Wilson.

  • Hi Wilson,

    Multi ROI processing is not supported in the current version TIDL.

    We will clarify this in the user guide. Will also update regarding the plan regarding this feature in the documentation. 

  • Hi Kumar,

    Do you mean current FC(inner product) doesn't support multi ROI processing?? 

    Best regards,

    Wilson.

  • Hi Wilson,

    Yes FC doesn't support multi ROI processing now.

    Even the other layers also don't support multi ROI now.

    Will also update regarding the plan regarding this feature in the documentation.