Cryptonic 0.1.0

This project includes a tensor library, utilities for FHE functionality and most importantly an FHE based ML library
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::tensor_library::matrix::Matrix;

pub trait Layer {
    type CType;

    fn forward(&mut self, input : Matrix<Self::CType>) -> Matrix<Self::CType> where <Self as Layer>::CType: Clone + Default;

    fn get_input_shape(&self) -> &Vec<usize>;

    fn get_output_shape(&self) -> &Vec<usize>;
}