Cryptonic 0.1.1

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
// We assume T::default() is the 0 of the type T
pub fn relu_usize<T>(_in: T) -> T where T: PartialOrd + Default{
    if _in < T::default() {
        return T::default();
    }
    _in
}