mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Link to C++ extensions in README.md (#8737)
This commit is contained in:
committed by
Edward Z. Yang
parent
c0dfe23703
commit
98a7d84a5a
@ -141,9 +141,8 @@ and with minimal abstractions.
|
||||
You can write new neural network layers in Python using the torch API
|
||||
[or your favorite NumPy-based libraries such as SciPy](http://pytorch.org/tutorials/advanced/numpy_extensions_tutorial.html).
|
||||
|
||||
If you want to write your layers in C/C++, we provide an extension API based on
|
||||
[cffi](http://cffi.readthedocs.io/en/latest/) that is efficient and with minimal boilerplate.
|
||||
There is no wrapper code that needs to be written. You can see [a tutorial here](http://pytorch.org/tutorials/advanced/c_extension.html) and [an example here](https://github.com/pytorch/extension-ffi).
|
||||
If you want to write your layers in C/C++, we provide a convenient extension API that is efficient and with minimal boilerplate.
|
||||
There is no wrapper code that needs to be written. You can see [a tutorial here](http://pytorch.org/tutorials/advanced/cpp_extension.html) and [an example here](https://github.com/pytorch/extension-cpp).
|
||||
|
||||
|
||||
## Installation
|
||||
|
Reference in New Issue
Block a user