-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[onert/train] support AveragePool2D for training #13829
Comments
I made a draft for this issue. #14059 |
Here is sample model and result. |
from #14086 (comment) while replacing code to use existing forwarding function, I've got a question. for ONE/compute/cker/src/train/MaxPool.test.cc Lines 205 to 211 in 06a536b
for average pool, I think the output will be
But with current forwarding ONE/compute/cker/include/cker/operation/AveragePool.h Lines 94 to 96 in 06a536b
So, is our policy to not induce output from padded area? or is it bug? |
It's the former. There is no case that circle model has paddings like the above test. And onert only allows padding type as "valid" and "same" for Pool ops now. The two padding types never induce Pool ops to have paddings like the above test. |
Ah, I've had a different understanding. I thought that "explicit" type is also possible for onert Pool ops. Because while generating kernel for pool operator, KernelGenerator allows explicit pool params.
Maybe Does it mean that the frontend does not allow explicit type? |
I guess that training also does not allow explicit type for pool ops. As far as I know, explicit type may be allowed only in the case of pad op now. |
Then, I'll remove that test case from PR. |
Even after #14149 , InceptionV3 model is not supported for training because |
Sure, just make a link to this issue as related =) |
What
Let's support AveragePool2D for training.
Why?
The InceptionV3 model from TensorFlow applications has AveragePool2D operation. However, onert does not support training this operation. PoolLayer is already implemented and only supports
MaxPool2D
. This issue can expand the pool type to supportAveragePool2D
.The text was updated successfully, but these errors were encountered: