https://github.com/kurtamohler/pytorch-tensoriterator-examples
Examples of how to use PyTorch's TensorIterator in C++
https://github.com/kurtamohler/pytorch-tensoriterator-examples
Last synced: 3 months ago
JSON representation
Examples of how to use PyTorch's TensorIterator in C++
- Host: GitHub
- URL: https://github.com/kurtamohler/pytorch-tensoriterator-examples
- Owner: kurtamohler
- Created: 2021-01-21T19:29:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-09T22:18:07.000Z (over 4 years ago)
- Last Synced: 2025-02-08T06:42:17.794Z (5 months ago)
- Language: C++
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pytorch-TensorIterator-examples
Examples of how to use PyTorch's TensorIterator in C++# Requirements
* [Miniconda](https://docs.conda.io/en/latest/miniconda.html)
* gcc/g++# Build
```bash
$ conda env create -f environment.yml
$ conda activate pytorch-TensorIterator-examples
$ ./download-libtorch.sh
$ ./build.sh
```# Run
```bash
$ ./build/examples
```