Open wujingyue opened 7 months ago
Even worse than the flag is probably that resize is called on the id in that other branch. I can't check at the moment but I wonder does it wind up creating a Resize node or is that function able to correctly notice there's no pad required. Or maybe it's removed later.
is that function able to correctly notice there's no pad required
I'm pretty sure it's ^^^. SimplifyingIrBuilder is smart enough to tell that. (But we still end up with that wrong rf
flag in the IR)
T1_g
's first dimension isn't sliced but still has therf
flag on. This behavior is unintended according to https://github.com/NVIDIA/Fuser/blob/71d9b555b401655c0d664b94e8abb7021ce29637/csrc/ops/alias.cpp#L744. ThesameAs
check returns false becauseint 4
is not the same asindex 4
.