intel / graph-compiler

Apache License 2.0
27 stars 14 forks source link

[Transform][vector] lowering dynamic shape of tensor.pack to vector #351

Open BRUCE11111 opened 1 week ago

BRUCE11111 commented 1 week ago

Tracking issue300.

  1. Lowering dynamic shape of tensor.pack to vector dialect.
  2. Disable expand_shape and collapse_shape lowering to vector dialect. Because those two operation is actually a tensor view operation, memref dialect has a pass to optimize it as a view operation.

Depends on PR100.

We will optimize mask operation as vector.maskload and vector.maskstore in for loop in next PR.