Currently, I load the torch script model as jit module.
I want to print all those parameters. So I want to convert jit::Value data strcture to Tensor.
if(value.type()->expect<torch::jit::TensorType>()) {
      auto tensor = value.toTensor();
}

I try to use same function of IValue but it does not work. Any idea?
Thanks