Seems it WORKED
    auto output1_sp = sp_and_gl_output_CUDA.toTuple()->elements()[0].toTensor();
    auto output2_gl = sp_and_gl_output_CUDA.toTuple()->elements()[1].toTensor();
    //-------------------------------------------------------------------------------------------------------------------
    in_to_G.push_back(output1_sp.to(at::kCUDA));
    in_to_G.push_back(output2_gl.to(at::kCUDA));
    //-------------------------------------------------------------------------------------------------------------------
    img_tensor = mG.forward(in_to_G);