The graph was created and loss is attached to it.
Using torchviz you would get this graph for the first forward pass with alpha included:

and this graph for the second part:

As you can see, alpha is in the graph in the last multiplication.
However, these graphs are not depending on each other, as they were created in two separate forward passes and new input.