@guikarist I wrote a very simple op zero_out, and compile it to zero_out.dll using bazel. It worked well when using python tf.load_op_library('./zero_out.dll'), Now I want to use this op(dll) in c++, how to load the dll, I try to use TF_LoadLibrary in c/c_api.h, but TF_NOT_FOUND = 5 is returned, zero_out.dll is not found? May some dependency are needed? I placed built tensorflow_cc.dll with zero_out.dll in the same directory. Could you give some advice?
@guikarist I wrote a very simple op
zero_out
, and compile it to zero_out.dll using bazel. It worked well when using pythontf.load_op_library('./zero_out.dll')
, Now I want to use this op(dll) in c++, how to load the dll, I try to useTF_LoadLibrary
inc/c_api.h
, butTF_NOT_FOUND = 5
is returned,zero_out.dll
is not found? May some dependency are needed? I placed builttensorflow_cc.dll
withzero_out.dll
in the same directory. Could you give some advice?