gtensor 1.0.0

Reverse-mode autodifferentiation of computational graphs with tensors and more for machine learning.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14

pub mod getset;
pub mod shape;
pub mod axis;
pub mod slice;
pub mod iter;
pub mod math;

use shape::Shape;

pub struct Tensor {
    pub(crate) data: Vec<f32>,
    pub(crate) shape: Shape,
}