c++ configure tensorflow environment
For detailed steps, refer to the content of the following website:
https://www.jianshu.com/p/cbf0e668f135
My environment: VS2017 successfully configured
the successful test icon:
#include <stdio.h>
#include <tensorflow/c/c_api.h>
#include<iostream>
using namespace std;
int main() {
printf("Hello from TensorFlow C library version %s\n", TF_Version());
//systems ("pause");
system("pause");
return 0;
}
Run the screenshot: