In the ShapeFeature, assert that the dict shape_of contains 1 for
dimensions that are broadcastable.
Also, a small modif to make those assert always work. Add a test for this.
This caused a crahs in the optimizer, as in one case, we didn't know
the shape was broadcastable by that path.
正在显示
请
注册
或者
登录
后发表评论