[b:2kce6vsm]Building a C++ (using C_API) example:[/b:2kce6vsm]
c:\bcc7164\bin\bcc64 tf.cpp -Ic:\bcc7164\include\windows\crtl -Ic:\bcc7164\include\dinkumware64 -Ic:\bcc7164\include\dinkumware -Ic:\bcc7164\include\windows\sdk -Lc:\bcc7164\lib tensorflow.a
To build the TensorFlow import library do:
c:\bcc7164\bin\mkexp tensorflow.a tensorflow.dll
example copied from here:
[url:2kce6vsm]https://github.com/tensorflow/tensorflow/issues/5106[/url:2kce6vsm]
tf.cpp
[code=fw:2kce6vsm][/code:2kce6vsm]
↧