Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vlang/vtl
The V Tensor Library
https://github.com/vlang/vtl
autograd deep-learning hacktoberfest linear-algebra machine-learning matrix-library multidimensional-arrays ndarray neural-networks tensor v
Last synced: 6 days ago
JSON representation
The V Tensor Library
- Host: GitHub
- URL: https://github.com/vlang/vtl
- Owner: vlang
- License: mit
- Created: 2020-10-08T15:33:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-17T16:04:59.000Z (about 1 month ago)
- Last Synced: 2024-12-17T16:44:11.448Z (about 1 month ago)
- Topics: autograd, deep-learning, hacktoberfest, linear-algebra, machine-learning, matrix-library, multidimensional-arrays, ndarray, neural-networks, tensor, v
- Language: V
- Homepage: https://vlang.github.io/vtl
- Size: 3.58 MB
- Stars: 148
- Watchers: 29
- Forks: 21
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-v - vtl - The V Tensor Library is a numerical computing library supporting n-dimensional data structure, backed by VSL. (Libraries / Scientific computing)
README
The V Tensor Library
[vlang.io](https://vlang.io) |
[Docs](https://vlang.github.io/vtl) |
[Tutorials](https://github.com/vlang/vtl/blob/main/docs/TUTORIAL.md) |
[Changelog](#) |
[Contributing](https://github.com/vlang/vtl/blob/main/CONTRIBUTING.md)[![Mentioned in Awesome V][awesomevbadge]][awesomevurl]
[![Continuous Integration][workflowbadge]][workflowurl]
[![Deploy Documentation][deploydocsbadge]][deploydocsurl]
[![License: MIT][licensebadge]][licenseurl]```v ignore
import vtl
t := vtl.from_array([1.0, 2, 3, 4], [2, 2])!
t.get([1, 1])
// 4.0
```## VTL Provides
- An n-dimensional `Tensor` data structure
- Sophisticated reduction, elementwise, and accumulation operations
- Data Structures that can easily be passed to C libraries
- Powerful linear algebra routines backed by VSL.In the [docs](https://vlang.github.io/vtl) you can find more information about this module
## Installation
### Install dependencies (optional)
We use [VSL](https://github.com/vlang/vsl) as backend for some functionalities.
VTL requires VSL's linear algebra module.
If you wish you to use vtl without these, the `vtl` module will still function as normal.Follow this [install instructions](https://github.com/vlang/vsl#install-vsl-locally)
at VSL docs in order to install VSL with all needed dependencies.### Install VTL
```sh
v install vtl
```Done. Installation completed.
## Testing
To test the module, just type the following command:
```sh
v test .
```## License
[MIT](LICENSE)
## Contributors
> This work was originally based on the work done by
> Christopher ([christopherzimmerman](https://github.com/christopherzimmerman)).> The development of this library continues its course after having reimplemented its core
> and a large part of its interface. In the same way, we do not want to stop recognizing
> the work and inspiration that the library done by Christopher has given.Made with [contributors-img](https://contrib.rocks).
[awesomevbadge]: https://awesome.re/mentioned-badge.svg
[workflowbadge]: https://github.com/vlang/vtl/actions/workflows/ci.yml/badge.svg
[deploydocsbadge]: https://github.com/vlang/vtl/actions/workflows/deploy-docs.yml/badge.svg
[licensebadge]: https://img.shields.io/badge/License-MIT-blue.svg
[awesomevurl]: https://github.com/vlang/awesome-v/blob/master/README.md#scientific-computing
[workflowurl]: https://github.com/vlang/vtl/actions/workflows/ci.yml
[deploydocsurl]: https://github.com/vlang/vtl/actions/workflows/deploy-docs.yml
[licenseurl]: https://github.com/vlang/vtl/blob/main/LICENSE