You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's support Shape Inference for determined by input data
Why
There are some operations(ex. Reshape, Pad) which determine output shape by input tensor data.
Current ShapeInference only allows access to input data when input is CircleConst.
It leaves output shape unknown or stop inferencing when input is CircleNode instead CircleConst.
However, there are some operations (ex. PACK) that determines output data in compile time.
Maybe we can inference output shape for these cases.
The text was updated successfully, but these errors were encountered:
What
Let's support Shape Inference for determined by input data
Why
There are some operations(ex.
Reshape
,Pad
) which determine output shape by input tensor data.Current
ShapeInference
only allows access to input data when input isCircleConst
.It leaves output shape unknown or stop inferencing when input is
CircleNode
insteadCircleConst
.However, there are some operations (ex.
PACK
) that determines output data in compile time.Maybe we can inference output shape for these cases.
The text was updated successfully, but these errors were encountered: