Conversation
|
Thanks @FrozenGene |
|
@FrozenGene https://www.dropbox.com/s/lr9wmv0dminvd10/Screenshot%202019-11-12%2013.53.12.png?dl=0 https://www.dropbox.com/s/6jppn19hae2yzte/Screenshot%202019-11-12%2013.54.17.png?dl=0 |
|
PRELU docs says that H and W can be "shared". That is what we see in my custom tflite model. |
|
could you share your custom tflite model of prelu? Seems that we should reshape alpha tensor to 4D make share meet TVM requirement. |
|
I can not share the file unfortunately. I'll try to create similar tflite file to reproduce the issue. |
|
Ok. You could refer my unittest and see how the prelu is constructed, because tf doesn’t have prelu, tflite just recognize op pattern to produce prelu. Then we could see how to solve your model problem. |
|
Will test it. BTW the model is |
|
I tried the fix with |
As discuss forum topic: https://discuss.tvm.ai/t/missing-tflite-operators/3150/8, we want to have PRelu support in TFLite
@apivovarov