Fetch the repository succeeded.
This action will force synchronization from OpenDocCN/pytorch-doc-zh, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
torch.utils.ffi.create_extension(name, headers, sources, verbose=True, with_cuda=False, package=False, relative_to='.', **kwargs)
创建并配置一个构建 PyTorch 扩展的 cffi.FFI 对象。
参数:
.ext.my_lib
。False
,则不打印任何输出(默认值:True
)。True
表示使用 CUDA 头进行编译(默认值:False
)。True
表示以程序包的模式构建(对于要以 pip 包安装的模块)(默认值:False
)。package
为True
时需要。最好使用__file__
作为参数。用户名 | 头像 | 职能 | 签名 |
---|---|---|---|
Song | 翻译 | 人生总要追求点什么 |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。