← Back to events
ActiveAIRelease

trunk/057b17cd29a79360252512fb8ec949dd4c364876: Size the output of rrelu_with_noise (#196087)

What happened

rrelu_with_noise.out is not structured, so nothing sizes out before the kernel writes self.numel() elements into it; a shorter out corrupts the heap. resize_output fixes that. noise has the same defect through an expanded tensor whose storage holds fewer elements than its size claims, so noise must now be contiguous too. Test Plan: python test/test_nn.py -k test_rrelu_with_noise_out_smaller_than_input This PR was au…

Summary assembled by rule from the sources below

Why it's spreading

Sources