torch::Tensor hidden = module.get_method("get_initial_state")({torch::tensor({20})});

/home/rakesh/rishabh_workspace/Garbage/LMtesting/LMtesting.cpp:65:64: error: conversion from ‘ c10::IValue ’ to non-scalar type ‘ at::Tensor ’ requested
torch::Tensor hidden = module.get_method(“get_initial_state”)({torch::tensor({20})}) ;
^