MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / SparseExampleIndices

Function SparseExampleIndices

tensorflow/core/kernels/sdca_ops_test.cc:87–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87Node* 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
95Node* SparseFeatureIndices(Graph* const g, const int sparse_features_per_group,
96 const int num_examples) {

Callers 1

GetGraphsFunction · 0.85

Calls 2

ConstantFunction · 0.70
TensorShapeClass · 0.50

Tested by

no test coverage detected