Home
last modified time | relevance | path

Searched refs:var_len_features (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/example/
Dexample_parser_configuration.cc48 std::vector<VarLenFeature>* var_len_features) { in ExtractExampleParserConfiguration() argument
61 var_len_features->resize(num_sparse); in ExtractExampleParserConfiguration()
93 (*var_len_features)[i].dtype = sparse_types.list().type(i); in ExtractExampleParserConfiguration()
117 (*var_len_features)[i].key = op_input_tensors[input_idx].scalar<string>()(); in ExtractExampleParserConfiguration()
139 VarLenFeature& config = (*var_len_features)[i]; in ExtractExampleParserConfiguration()
165 std::vector<VarLenFeature>* var_len_features) { in ExampleParserConfigurationProtoToFeatureVectors() argument
194 var_len_features->push_back(v); in ExampleParserConfigurationProtoToFeatureVectors()
Dexample_parser_configuration_test.cc201 std::vector<VarLenFeature> var_len_features; in TEST_F() local
203 config_proto_, &fixed_len_features, &var_len_features)); in TEST_F()
205 ASSERT_EQ(1, var_len_features.size()); in TEST_F()
220 const VarLenFeature& v = var_len_features[0]; in TEST_F()
Dexample_parser_configuration.h44 std::vector<VarLenFeature>* var_len_features);
52 std::vector<VarLenFeature>* var_len_features);
/external/tensorflow/tensorflow/core/util/
Dexample_proto_helper.cc218 const std::vector<VarLenFeature>& var_len_features, in SingleExampleProtoToTensors() argument
267 for (size_t d = 0; d < var_len_features.size(); ++d) { in SingleExampleProtoToTensors()
268 const VarLenFeature& feature_config = var_len_features[d]; in SingleExampleProtoToTensors()
321 const std::vector<VarLenFeature>& var_len_features, Allocator* allocator, in BatchExampleProtoToTensors() argument
355 std::vector<std::vector<Tensor>> sparse_values_tmp(var_len_features.size()); in BatchExampleProtoToTensors()
357 for (size_t d = 0; d < var_len_features.size(); ++d) { in BatchExampleProtoToTensors()
365 ex, example_name, b, fixed_len_features, var_len_features, in BatchExampleProtoToTensors()
369 for (size_t d = 0; d < var_len_features.size(); ++d) { in BatchExampleProtoToTensors()
370 const VarLenFeature& feature_config = var_len_features[d]; in BatchExampleProtoToTensors()
Dexample_proto_helper.h79 const std::vector<VarLenFeature>& var_len_features,
113 const std::vector<VarLenFeature>& var_len_features, Allocator* allocator,