-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何 把VarBase 转换为LodTensor #32765
Comments
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~ Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day! |
您好,可以试试这种方法,得到的是一个lodtensor |
@danleifeng 谢谢。 想追加一个问题, 如何 把 paddle.fluid.core_avx.Tensor 转回Varbase? |
可以使用 |
@danleifeng 我尝试了 fluid.dygraph.to_variable() , 和paddle.to_tensor() 都不支持paddle.fluid.core_avx.Tensor 测试代码
错误:
|
@zzz2010 构造这里有个问题,不支持core.Tensor,只支持core.LoDTensor,后面我们修复一下 |
Since you haven't replied for more than a year, we have closed this issue/pr. |
你好, 我想直接在GPU上把VarBase转换为LodTensor,而不是先转cpu numpy 再create_lod_tensor. 请问有方法吗? 谢谢
The text was updated successfully, but these errors were encountered: