• Pascal Lamblin's avatar
    Use shape_of instead of explicitly inserting Shape_i · c5847af9
    Pascal Lamblin 提交于
    These Shape_i nodes will not always be optimized away otherwise, and
    they prevent local_shape_to_shape_i from being applied.
    Instead, we manually apply the equivalent of local_shape_to_shape_i,
    by using shape_of[...] directly.
    c5847af9
opt.py 238.5 KB