Open pcs1265 opened 2 months ago
So I am planning this in the following sequence:
However, I am concerned about the migration process.
https://github.com/Samsung/ONE/blob/06a536b634f08145f1656adc7664b8099776f9a6/compiler/luci/service/src/CircleShapeInferenceRule.cpp#L420
There is a function infer_conv2d_type()
that is shared by Conv2D and DepthwiseConv2D.
To migrate this, I have considered several ways to do this:
HelperConv2Ds.h
and include the implementation in that header file.CircleShapeInferenceHelper.h
CircleShapeInferenceHelper.cpp
infer_conv2d_type()
is a template function.Which option do you prefer? I was working on first method.
Which option do you prefer? I was working on first method.
Please go one with your first method and lets see how it comes out.
Which option do you prefer? I was working on first method.
Please go one with your first method and lets see how it comes out.
Thank you. I'll work on this way.
Currently, we are working on enabling Yamnet to support dynamic shape inference for the Reshape operation.
In this process, we planned to infer all dimensions as unknown when the shape is not CircleConst.
According to our decision, the height, width, and number of channels will be provided to Conv2D in unknown state, resulting an incorrect inference (the unknown dim will be treated as
0
).Therefore, if the height, width, and channels of the IFM are unknown, Conv2D should infer those dimensions as unknown.