![]() |
Nabla
1.0
Nabla - a DSL for Automatic differentiation
|
#include <Tensor.h>
Public Member Functions | |
Tensor () | |
Tensor (int m, int n) | |
Tensor (int m, int n, std::vector< std::vector< double >> vals) | |
Tensor | transpose () |
Tensor | negative () |
void | print () |
std::pair< int, int > | shape () |
Public Attributes | |
int | num_dims = 2 |
int | m |
int | n |
std::vector< std::vector< double > > | data |
Tensor::Tensor | ( | ) |
Tensor::Tensor | ( | int | m, |
int | n | ||
) |
Tensor::Tensor | ( | int | m, |
int | n, | ||
std::vector< std::vector< double >> | vals | ||
) |
Tensor Tensor::negative | ( | ) |
void Tensor::print | ( | ) |
std::pair< int, int > Tensor::shape | ( | ) |
Tensor Tensor::transpose | ( | ) |
std::vector<std::vector<double> > Tensor::data |
int Tensor::m |
int Tensor::n |
int Tensor::num_dims = 2 |