-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Labels
questionFurther information is requestedFurther information is requested
Description
There is ambiguity regarding how to correctly express dynamic shapes with the Reshape operation in Circle IR, especially when shape and shapeSignature attributes are involved.
Background
- In Circle Tensors, dynamic dimensions are typically indicated by setting the value in
shapeto 1 and inshapeSignatureto -1. - This allows dynamic shape representation at the model level for tensor definitions.
Question
When using the Reshape operation, is there a proper way to express a dynamic output shape?
- The
newShapeparameter ofReshapeonly acceptsList[int]. - It is unclear how to propagate dynamic shape (e.g., a symbolic or runtime-dependent dimension) through
Reshape, ifList[int]does not support non-integer (e.g., symbolic) entries. - Does this imply that dynamic output shapes are not supported for
Reshape, or is there a recommended workaround for encoding dynamic dimensions innewShape?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested