| 85 | } |
| 86 | |
| 87 | Node* SparseExampleIndices(Graph* const g, const int sparse_features_per_group, |
| 88 | const int num_examples) { |
| 89 | const int x_size = num_examples * 4; |
| 90 | Tensor data(DT_INT64, TensorShape({x_size})); |
| 91 | test::FillFn<int64>(&data, [&](const int i) { return i / 4; }); |
| 92 | return test::graph::Constant(g, data); |
| 93 | } |
| 94 | |
| 95 | Node* SparseFeatureIndices(Graph* const g, const int sparse_features_per_group, |
| 96 | const int num_examples) { |
no test coverage detected