Hello,
I've implement custom layer which has two inputs and doesn't need padding. I found perfsim changed padding of inputs. I'd like to know padding rule of persim and how to prevent adding padding.
Best regards,
Wilson.
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.
Hello,
I've implement custom layer which has two inputs and doesn't need padding. I found perfsim changed padding of inputs. I'd like to know padding rule of persim and how to prevent adding padding.
Best regards,
Wilson.
Hi Wilson,
The padding parameters in custom layer are the minimum padding required for that layer. Actual padding required for a layer depends on who is generating the input of that layer. There are certain layers in TIDL which cannot change the padding because of which the padding propagates to other layer and hence for a custom layer padding can be different from the one set by the user.
Regards,
Anshu
Anshu,
Could you give rule? Padding can make overhead and I'd like to control it.
Thanks and regards,
Wilson
Hi Wilson,
Currently user doesn't have control on the padding it is determined based on the previous layers to a particular layer.
Regards,
Anshu