Commit 2f11c0c
authored
Arm backend: Avoid inplace buffer modification (#17901)
For some buffers with grad=True, this triggered
Runtime error: a view of a leaf Variable that requires grad is being
used in an in-place operation.
Signed-off-by: Erik Lundell <erik.lundell@arm.com>1 parent 427bc4e commit 2f11c0c
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 55 | + | |
| 56 | + | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
0 commit comments