- 博客(2)
- 收藏
- 关注
原创 Some tips of using tensorflow C++ API for model prediction
1. python model traing:you should add this to your python code when constract the model: logits = tf.add(tf.matmul(hidden4, weights), biases, name='classify') out = tf.nn.softmax(logits, n
2018-01-17 18:06:27 867
原创 TensorFlow c++ API build cmake file
cmake_minimum_required(VERSION 3.9)add_definitions(-D_GLIBCXX_USE_CXX11_ABI=1)project(tensorflowTest)set(CMAKE_CXX_STANDARD 11)include_directories( /usr/local/include/tf
2018-01-15 14:33:04 1112
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人