Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-sparse
Commits
39d463b8
Commit
39d463b8
authored
Feb 16, 2021
by
rusty1s
Browse files
add C++ description
parent
839dd6a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
README.md
README.md
+13
-0
No files found.
README.md
View file @
39d463b8
...
@@ -281,6 +281,19 @@ print(valueC)
...
@@ -281,6 +281,19 @@ print(valueC)
tensor([8.0, 6.0, 8.0])
tensor([8.0, 6.0, 8.0])
```
```
## C++ API
`torch-sparse`
also offers a C++ API that contains C++ equivalent of python models.
```
mkdir build
cd build
# Add -DWITH_CUDA=on support for the CUDA if needed
cmake ..
make
make install
```
## Running tests
## Running tests
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment