Closed makslevental closed 1 year ago
To be consistent with tensor.pad, could we invert the attribute and call it "nofold" ?
Also, for consistency, the default behavior of tensor.pad
is to fold; i.e. this is an optional UnitAttr and its presence disables folding.
To be consistent with tensor.pad, could we invert the attribute and call it "nofold" ?
Also, for consistency, the default behavior of
tensor.pad
is to fold; i.e. this is an optional UnitAttr and its presence disables folding.
Are we sure that we want this? The reason I went back and made it not fold by default is because folding the arange produces a tensor of indices nx1xindex
which erases/loses the structure of the arange (start
, stop
, step
).
Depends on https://github.com/iree-org/iree-llvm-sandbox/pull/740.
This PR implements the remainder of slicing, i.e. with arbitrary
start
,stop
, andstep
:including with non-constant operands for the slice object: