Credit Assignment Techniques in Stochastic Computation Graphs