File tree Expand file tree Collapse file tree 4 files changed +8
-9
lines changed
Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,8 @@ INSTALL=install
1111
1212TS_OBJ = redisai.o tensor.o graph.o
1313
14- INCLUDE_FLAGS =-I $(DEPS_PATH ) /redis/src \
15- -I . \
16- -I backends \
14+ INCLUDE_FLAGS =-I . \
15+ -I $(DEPS_PATH ) /redis/src \
1716 -I $(DEPS_PATH ) /dlpack/include \
1817
1918ifeq ($(shell uname) ,Linux)
2726endif
2827
2928# Tensorflow backend
30- TS_OBJ += backends/tensorflow_backend .o
29+ TS_OBJ += backends/tensorflow .o
3130FINAL_LDFLAGS += -ltensorflow
3231INCLUDE_FLAGS += -I $(DEPS_PATH ) /libtensorflow/include
3332LDPATH_FLAGS += -L $(DEPS_PATH ) /libtensorflow/lib
Original file line number Diff line number Diff line change 1- #include "tensorflow_backend .h"
1+ #include "backends/tensorflow .h"
22#include "tensor.h"
33#include "utils/arr_rm_alloc.h"
44
Original file line number Diff line number Diff line change 1- #ifndef SRC_TENSORFLOW_BACKEND_H_
2- #define SRC_TENSORFLOW_BACKEND_H_
1+ #ifndef SRC_BACKENDS_TENSORFLOW_H_
2+ #define SRC_BACKENDS_TENSORFLOW_H_
33
44#include "config.h"
55#include "tensor_struct.h"
@@ -18,4 +18,4 @@ void RAI_GraphFreeTF(RAI_Graph* graph);
1818
1919int RAI_GraphRunTF (RAI_GraphRunCtx * gctx );
2020
21- #endif /* SRC_TENSORFLOW_BACKEND_H_ */
21+ #endif /* SRC_BACKENDS_TENSORFLOW_H_ */
Original file line number Diff line number Diff line change 22#include "graph_struct.h"
33
44#ifdef RAI_TENSORFLOW_BACKEND
5- #include "backends/tensorflow_backend .h"
5+ #include "backends/tensorflow .h"
66#endif /* RAI_TENSORFLOW_BACKEND */
77
88#include "utils/arr_rm_alloc.h"
You can’t perform that action at this time.
0 commit comments