I think I had what SimonW suggested before, with gamma and beta set as Variables otherwise I wouldn’t be able to do the operation. If I remember it correctly, this setup failed during the backwards step.