hidden is a Variable and as such, can have a computation graph.
hidden.data is the underlying Tensor that the data is stored in. Tensors do not have computation graphs.
So slice_of_mu has no computation graph attached to it.