#ifndef DUMMY_OP_FPGA_H #define DUMMY_OP_FPGA_H #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/function.h" #include #include #include #include #include #include #include #include #include "../lib/mlfpga/include/connectionManager.hpp" #include "../lib/mlfpga/include/modules.hpp" #include "entrypoint.hpp" namespace tf_lib { using namespace tensorflow; using namespace std::chrono; class DummyOp : public AsyncOpKernel { public: explicit DummyOp(OpKernelConstruction* context); void ComputeAsync(OpKernelContext* context, DoneCallback done) override; private: const int dataLength = 4; int tagCounter = 0; }; } #endif