### 16 releases

Uses new Rust 2021

0.5.9 | Mar 28, 2022 |
---|---|

0.5.8 | Mar 19, 2022 |

0.5.5 | Feb 28, 2022 |

0.5.1 | Jan 30, 2022 |

0.3.5 | Jun 23, 2020 |

#**133** in Machine learning

**125** downloads per month

Used in **3** crates
(2 directly)

**MIT**license

320KB

7K
SLoC

# A typeless tensor library

## Introduction

A typeless tensor library

## Features

- A type less tensor.
- A set of ops for it.

## Usage

## Example

## Dependence

install gfortran when openblas-src = "0.9" is used.

###
`lib.rs`

:

# A simple tensor implementation

## Introduction

This is a type less tensor library with the option to use built-in operators or third-party acceleration library. Some API for tensor to implement are listed in [tensor_trait]. [typed_tensor] is an enum to cover the tensor type information for [tensor].

Currently, there are over 80 methods for [tensor].

## Install

cargo install tensor-rs

## Example

The following example shows a dip to using the package.

` ``use` `tensor_rs``::``tensor_impl``::``gen_tensor``::``*``;`
`let` m1 `=` `GenTensor``::``<``f64``>``::`new_raw`(``&``vec!``[``0.``;` `3``*``5``*``2``]``,` `&``vec!``[``3``,``5``,``2``]``)``;`
`assert_eq!``(`m1`.``stride``(``)``,` `vec!``[``10``,``2``,``1``]``)``;`

## Licese

#### Dependencies

~1–11MB

~152K SLoC