Uh oh!
There was an error while loading. Please reload this page.
[TFLite] Support PRelu - #4298
Conversation
tqchen
commented
Nov 10, 2019
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. |
FrozenGene
commented
Nov 13, 2019
could you share your custom tflite model of prelu? Seems that we should reshape alpha tensor to 4D make share meet TVM requirement. |
apivovarov
commented
Nov 13, 2019
I can not share the file unfortunately. I'll try to create similar tflite file to reproduce the issue. |
FrozenGene
commented
Nov 13, 2019
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. |
apivovarov
commented
Nov 13, 2019
Will test it. BTW the model is |
apivovarov
commented
Nov 13, 2019
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