We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1749393 commit 521deb4Copy full SHA for 521deb4
src/deep_model.cc
@@ -146,9 +146,6 @@ int main(int argc, char* argv[]) {
146
auto id_list_tensor = test::AsTensor<int64>(fid_list);
147
inputs.push_back(std::pair<std::string, Tensor>("input/sparse_" + std::to_string(fieldid) +"/id/Placeholder", id_list_tensor));
148
149
- // input/sparse_id/shape/Placeholder not used. Why?
150
- auto id_tensor_shape = TensorShape({1, static_cast<int64>(fid_list.size())});
151
-
152
// input/sparse_id/value/Placeholder
153
auto val_list_tensor = test::AsTensor<float>(fval_list);
154
inputs.push_back(std::pair<std::string, Tensor>("input/sparse_" + std::to_string(fieldid) +"/value/Placeholder", val_list_tensor));
0 commit comments