Sorry for the confusion, you can think of torch::jit::Value as a variable in the graph (i.e. it has no concrete value until the graph is run), so there’s really no way to extract its value since it doesn’t have one. You can read more about it here 23. If you are trying to extract intermediate values from the graph, there’s no way to do that currently but you can follow along at this issue 15.