Compiling TensorFlow custom ops on Windows has been a disaster. A related resource:
https://github.com/tensorflow/custom-op/pull/41/files
Windows's TF pip package doesn't come with tensorflow_framework.dll. The custom-op people instead used a hack by linking _pywrap_tensorflow_internal.lib. I tried the same but then get stuck at compiling TensorFlow headers: I got a C4596 error complaining about a type_trait definition in tensorflow includes. I haven't figured out how to fix this without modifying tensorflow code.
Compiling TensorFlow custom ops on Windows has been a disaster. A related resource:
https://github.com/tensorflow/custom-op/pull/41/files
Windows's TF pip package doesn't come with
tensorflow_framework.dll. The custom-op people instead used a hack by linking_pywrap_tensorflow_internal.lib. I tried the same but then get stuck at compiling TensorFlow headers: I got a C4596 error complaining about a type_trait definition in tensorflow includes. I haven't figured out how to fix this without modifying tensorflow code.