burn-tensor 0.1.0

This library provides multiple tensor implementations hidden behind an easy to use API that supports reverse mode automatic differentiation.
1
2
3
4
5
6
7
use crate::tensor::Data;

impl<P: std::fmt::Debug, const D: usize> std::fmt::Display for Data<P, D> {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        f.write_str(format!("{:?}", &self.value).as_str())
    }
}