mirror of
https://github.com/JHUAPL/openfhe-python-bindings.git
synced 2026-01-09 14:27:54 -05:00
29 lines
668 B
C++
29 lines
668 B
C++
// (c) 2021-2024 The Johns Hopkins University Applied Physics Laboratory LLC (JHU/APL).
|
|
|
|
#ifndef HE_CNN_LINEAR_H
|
|
#define HE_CNN_LINEAR_H
|
|
|
|
// pooling stuff
|
|
|
|
#include <vector>
|
|
#include <complex>
|
|
|
|
#include <boost/python.hpp>
|
|
#include <boost/python/numpy.hpp>
|
|
|
|
#include "boost/multi_array.hpp"
|
|
#include "utils/utils.hpp"
|
|
|
|
using namespace pyOpenFHE;
|
|
using namespace pyOpenFHE_CKKS;
|
|
using namespace boost::python;
|
|
using namespace boost::python::numpy;
|
|
|
|
namespace pyOpenFHE_CKKS {
|
|
|
|
pyOpenFHE_CKKS::CKKSCiphertext linear(const boost::python::list &py_shards, const ndarray &npweights, const int mtx_size, const ndarray &permutation, const int pool_factor);
|
|
|
|
}
|
|
|
|
#endif
|