thanks for that, but unfortunately I still need something more general than this.
model.alpha could be a tensor too, in which case you can’t call .backwards() on it directly.
I only gave this snippet as an example of the issue, not as a final use case!