Novice and first post in this forum.
I have search the the forum and the documentation and even tried
Which only resulted in errors.
A search for in-place operations in connection with Pytorch results in anything but what I am looking for.
All the inplace-operations refer to their non-inplace counter part for documentation, which is fine, but I am missing a link to the source code.
In case I am suffering from an XY-problem:
I ultimately want to write s.th. like
nn.ReLu() but as a step-function so
y = 1. for x > 0. else 0.
y = 1. for x > 0. else -1. would also be fine.
Motivation behind this is to normalize the values to reassume the value-range of the input-valules.