Files
openfhe-python-bindings/include/ckks/cnn/upsample.hpp
Vikram Saraph faaeae212d Initial commit
2025-01-09 11:29:13 -05:00

28 lines
612 B
C++

// (c) 2021-2024 The Johns Hopkins University Applied Physics Laboratory LLC (JHU/APL).
#ifndef HE_CNN_UPSAMPLE_H
#define HE_CNN_UPSAMPLE_H
#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 {
boost::python::list upsample(const boost::python::list &py_shards, const int mtx_size, const ndarray &permutation, int upsample_type);
}
#endif