entrypoint.hpp 656 B

123456789101112131415161718192021222324252627
  1. #ifndef ENTRY_FPGA_H
  2. #define ENTRY_FPGA_H
  3. #include <fstream>
  4. #include "../lib/json/single_include/nlohmann/json.hpp"
  5. #include "tensorflow/core/framework/op.h"
  6. #include "tensorflow/core/framework/shape_inference.h"
  7. #include "tensorflow/core/framework/function.h"
  8. #include "tensorflow/core/util/tensor_format.h"
  9. #include "tensorflow/core/lib/math/math_util.h"
  10. #include "conv2D.hpp"
  11. #include "dummyOp.hpp"
  12. #include "dummyBigOp.hpp"
  13. #include "../lib/mlfpga/include/connectionManager.hpp"
  14. #include "helper.hpp"
  15. namespace tf_lib {
  16. void __attribute__ ((constructor)) construct(void);
  17. extern ConnectionManager connectionManager;
  18. void init();
  19. }
  20. #endif