Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- gcc -c main.c -o main.o
- gcc -o hello-tf main.o -ltensorflow
- ./hello-tf
- */
- #include <stdio.h>
- #include <tensorflow/c/c_api.h>
- int main()
- {
- printf("\nHello !\nTensorFlow C library version %s\n\n", TF_Version());
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment