public override Tensor Backward(Tensor tensor) { if (Prev == null) { return(null); } OutputGradient = tensor; Input.ActivationDx(ActivationFunction, tensor, InputGradient); return(InputGradient); }