Skip to content

Commit 521deb4

Browse files
committed
fix
1 parent 1749393 commit 521deb4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/deep_model.cc

-3
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@ int main(int argc, char* argv[]) {
146146
auto id_list_tensor = test::AsTensor<int64>(fid_list);
147147
inputs.push_back(std::pair<std::string, Tensor>("input/sparse_" + std::to_string(fieldid) +"/id/Placeholder", id_list_tensor));
148148

149-
// input/sparse_id/shape/Placeholder not used. Why?
150-
auto id_tensor_shape = TensorShape({1, static_cast<int64>(fid_list.size())});
151-
152149
// input/sparse_id/value/Placeholder
153150
auto val_list_tensor = test::AsTensor<float>(fval_list);
154151
inputs.push_back(std::pair<std::string, Tensor>("input/sparse_" + std::to_string(fieldid) +"/value/Placeholder", val_list_tensor));

0 commit comments

Comments
 (0)