This is exactly the output of TF's ParseExample Op. Documentation is available in: tensorflow/core/ops/parsing_ops.cc
| 84 | // This is exactly the output of TF's ParseExample Op. |
| 85 | // Documentation is available in: tensorflow/core/ops/parsing_ops.cc |
| 86 | struct Result { |
| 87 | std::vector<Tensor> sparse_indices; |
| 88 | std::vector<Tensor> sparse_values; |
| 89 | std::vector<Tensor> sparse_shapes; |
| 90 | std::vector<Tensor> dense_values; |
| 91 | |
| 92 | // This vector will be populated with one element per example if |
| 93 | // `FastParseExampleConfig::collect_feature_stats` is set to `true`. |
| 94 | std::vector<PerExampleFeatureStats> feature_stats; |
| 95 | }; |
| 96 | |
| 97 | // Parses a batch of serialized Example protos and converts them into result |
| 98 | // according to given config. |