An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.1% on proxy.golang.org
Top 3.4% dependent packages on proxy.golang.org

proxy.golang.org : github.com/wzzhu/tensor

Package tensor is a package that provides efficient, generic n-dimensional arrays in Go. Also in this package are functions and methods that are used commonly in arithmetic, comparison and linear algebra operations. The AsDenseDiag construction option creates a dense diagonal matrix from the input, either a slice or a tensor. The resulting shape is automatically inferred from the input vector. This is like Numpy's `diag()` function, except not stupid. Numpy's `diag()` has been a cause of errors because it's somewhat isometric: The AsFortran construction option is a bit finnicky. This example showcases the very basics of the package. This example showcases interactions between different data orders This is an example of how to use `IteratorFromDense` from a row-major Dense tensor This is an example of using `IteratorFromDense` on a col-major Dense tensor. More importantly this example shows the order of the iteration.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/wzzhu/tensor
License: Apache-2.0
Latest release: almost 3 years ago
First release: over 7 years ago
Namespace: github.com/wzzhu
Dependent packages: 2
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/chewxy, https://github.com/sponsors/owulveryck, https://github.com/sponsors/dcu
Last synced: about 5 hours ago

    Loading...
    Readme
    Loading...