Skip to content
Snippets Groups Projects
Commit c9540441 authored by Thibault Allenet's avatar Thibault Allenet
Browse files

Add python binding of the abstract class Database

parent 15db022f
No related branches found
No related tags found
2 merge requests!105version 0.2.0,!4Dataloader
#include <pybind11/pybind11.h>
#include "aidge/data/Database.hpp"
namespace py = pybind11;
namespace Aidge {
void init_Database(py::module& m){
py::class_<Database, std::shared_ptr<Database>>(m,"Database");
}
}
......@@ -15,6 +15,7 @@ namespace py = pybind11;
namespace Aidge {
void init_Data(py::module&);
void init_Database(py::module& m);
void init_Tensor(py::module&);
void init_OperatorImpl(py::module&);
void init_Parameterizable(py::module&);
......@@ -56,6 +57,7 @@ void set_python_flag(){
void init_Aidge(py::module& m){
set_python_flag();
init_Data(m);
init_Database(m);
init_Tensor(m);
init_Node(m);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment