Home
last modified time | relevance | path

Searched refs:feature_list (Results 1 – 25 of 39) sorted by relevance

12

/external/libchrome/base/
Dfeature_list_unittest.cc36 std::string SortFeatureListString(const std::string& feature_list) { in SortFeatureListString() argument
38 FeatureList::SplitFeatureListString(feature_list); in SortFeatureListString()
52 void RegisterFeatureListInstance(std::unique_ptr<FeatureList> feature_list) { in RegisterFeatureListInstance() argument
54 feature_list_ = feature_list.get(); in RegisterFeatureListInstance()
55 FeatureList::SetInstance(std::move(feature_list)); in RegisterFeatureListInstance()
62 FeatureList* feature_list() { return feature_list_; } in feature_list() function in base::FeatureListTest
99 std::unique_ptr<FeatureList> feature_list(new FeatureList); in TEST_F() local
100 feature_list->InitializeFromCommandLine(test_case.enable_features, in TEST_F()
102 RegisterFeatureListInstance(std::move(feature_list)); in TEST_F()
119 EXPECT_TRUE(feature_list()->CheckFeatureIdentity(kFeatureOnByDefault)); in TEST_F()
[all …]
Dfeature_list.cc247 std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList); in InitializeInstance() local
248 feature_list->InitializeFromCommandLine(enable_features, disable_features); in InitializeInstance()
249 base::FeatureList::SetInstance(std::move(feature_list)); in InitializeInstance()
340 const std::string& feature_list, in RegisterOverridesFromCommandLine() argument
342 for (const auto& value : SplitFeatureListString(feature_list)) { in RegisterOverridesFromCommandLine()
Dlogging_unittest.cc762 base::test::ScopedFeatureList feature_list; in TEST_F() local
763 feature_list.InitFromCommandLine("DcheckIsFatal", ""); in TEST_F()
768 base::test::ScopedFeatureList feature_list; in TEST_F() local
769 feature_list.InitFromCommandLine("", "DcheckIsFatal"); in TEST_F()
775 base::test::ScopedFeatureList feature_list; in TEST_F() local
776 feature_list.InitFromCommandLine("", ""); in TEST_F()
/external/libchrome/base/test/
Dscoped_feature_list.cc104 std::unique_ptr<FeatureList> feature_list(new FeatureList); in Init() local
105 feature_list->InitializeFromCommandLine(std::string(), std::string()); in Init()
106 InitWithFeatureList(std::move(feature_list)); in Init()
110 std::unique_ptr<FeatureList> feature_list) { in InitWithFeatureList() argument
113 FeatureList::SetInstance(std::move(feature_list)); in InitWithFeatureList()
120 std::unique_ptr<FeatureList> feature_list(new FeatureList); in InitFromCommandLine() local
121 feature_list->InitializeFromCommandLine(enable_features, disable_features); in InitFromCommandLine()
122 InitWithFeatureList(std::move(feature_list)); in InitFromCommandLine()
164 FeatureList* feature_list = FeatureList::GetInstance(); in InitWithFeaturesAndFieldTrials() local
172 if (feature_list) { in InitWithFeaturesAndFieldTrials()
Dscoped_feature_list_unittest.cc42 std::unique_ptr<FeatureList> feature_list(new FeatureList); in ScopedFeatureListTest() local
43 feature_list->InitializeFromCommandLine(std::string(), std::string()); in ScopedFeatureListTest()
45 FeatureList::SetInstance(std::move(feature_list)); in ScopedFeatureListTest()
94 test::ScopedFeatureList feature_list; in TEST_F() local
96 feature_list.InitAndEnableFeatureWithParameters(kTestFeature1, parameters); in TEST_F()
231 std::unique_ptr<FeatureList> feature_list(new FeatureList); in TEST_F() local
234 feature_list->RegisterFieldTrialOverride( in TEST_F()
236 feature_list1.InitWithFeatureList(std::move(feature_list)); in TEST_F()
248 std::unique_ptr<FeatureList> feature_list(new FeatureList); in TEST_F() local
251 feature_list->RegisterFieldTrialOverride( in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/example/
Dexample.proto104 // This information is recorded in three separate feature_list(s).
105 // In the example below there are only two movies. All three feature_list(s),
137 // feature_list: {
152 // feature_list: {
167 // feature_list: {
212 // feature_lists: { feature_list: {
219 // feature_lists: { feature_list: {
227 // feature_lists: { feature_list: {
234 // feature_lists: { feature_list: {
240 // feature_lists: { feature_list: {
[all …]
Dfeature_util.cc55 auto& feature_list = sequence_example.feature_lists().feature_list(); in HasFeatureList() local
56 return (feature_list.find(key) != feature_list.end()); in HasFeatureList()
95 return sequence_example.feature_lists().feature_list().at(key).feature(); in GetFeatureList()
/external/grpc-grpc/examples/cpp/route_guide/
Dhelper.cc140 void ParseDb(const std::string& db, std::vector<Feature>* feature_list) { in ParseDb() argument
141 feature_list->clear(); in ParseDb()
150 feature_list->push_back(Feature()); in ParseDb()
151 if (!parser.TryParseOne(&feature_list->back())) { in ParseDb()
153 feature_list->clear(); in ParseDb()
157 std::cout << "DB parsed, loaded " << feature_list->size() in ParseDb()
Dhelper.h30 void ParseDb(const std::string& db, std::vector<Feature>* feature_list);
Droute_guide_server.cc75 const std::vector<Feature>& feature_list) { in GetFeatureName() argument
76 for (const Feature& f : feature_list) { in GetFeatureName()
/external/grpc-grpc/examples/python/route_guide/
Droute_guide_client.py64 def generate_route(feature_list): argument
66 random_feature = feature_list[random.randint(0, len(feature_list) - 1)]
72 feature_list = route_guide_resources.read_route_guide_database()
74 route_iterator = generate_route(feature_list)
Droute_guide_resources.py28 feature_list = []
36 feature_list.append(feature)
37 return feature_list
/external/grpc-grpc/examples/python/multiplex/
Dmultiplex_client.py68 def generate_route(feature_list): argument
70 random_feature = feature_list[random.randint(0, len(feature_list) - 1)]
77 feature_list = route_guide_resources.read_route_guide_database()
79 route_iterator = generate_route(feature_list)
Droute_guide_resources.py28 feature_list = []
36 feature_list.append(feature)
37 return feature_list
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_cli.py479 for feature_name, feature_list in example_dict.items():
480 if not isinstance(feature_list, list):
482 (feature_name, feature_list, type(feature_list)))
483 if isinstance(feature_list[0], float):
485 feature_list)
486 elif isinstance(feature_list[0], str):
488 feature_list)
489 elif isinstance(feature_list[0], integer_types):
491 feature_list)
495 (type(feature_list[0]), feature_list[0]))
/external/grpc-grpc/examples/node/static_codegen/route_guide/
Droute_guide_server.js40 var feature_list = []; variable
51 for (var i = 0; i < feature_list.length; i++) {
52 feature = feature_list[i];
89 _.each(feature_list, function(feature) {
230 feature_list = _.map(JSON.parse(data), function(value) {
Droute_guide_client.js109 var feature_list = _.map(JSON.parse(data), function(value) {
151 var rand_point = feature_list[_.random(0, feature_list.length - 1)];
/external/grpc-grpc/examples/node/dynamic_codegen/route_guide/
Droute_guide_server.js49 var feature_list = []; variable
60 for (var i = 0; i < feature_list.length; i++) {
61 feature = feature_list[i];
99 _.each(feature_list, function(feature) {
239 feature_list = JSON.parse(data);
Droute_guide_client.js119 var feature_list = JSON.parse(data);
157 var rand_point = feature_list[_.random(0, feature_list.length - 1)];
/external/tensorflow/tensorflow/python/kernel_tests/
Dparsing_ops_test.py51 feature_list = lambda l: feature_pb2.FeatureList(feature=l) function
52 feature_lists = lambda d: feature_pb2.FeatureLists(feature_list=d)
1040 feature_list([
1045 feature_list([
1239 feature_list([
1246 feature_list([bytes_feature([b"r00", b"r01", b"r10", b"r11"])]),
1248 feature_list([float_feature([3, 4]),
1303 feature_list([int64_feature([3, 4]),
1306 feature_list([
1312 feature_list([
[all …]
/external/e2fsprogs/lib/e2p/
Dfeature.c29 static struct feature feature_list[] = { variable
139 for (f = feature_list; f->string; f++) { in e2p_feature2string()
169 for (f = feature_list; f->string; f++) { in e2p_string2feature()
395 f = feature_list; in main()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-feature-lists.pbtxt6 name: "feature_list"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.train.-feature-lists.pbtxt6 name: "feature_list"
/external/tensorflow/tensorflow/contrib/feature_column/python/feature_column/
Dsequence_feature_column_integration_test.py47 example.feature_lists.feature_list['int_list'].feature.extend([feat])
51 example.feature_lists.feature_list['str_list'].feature.extend([feat])
/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column_integration_test.py47 example.feature_lists.feature_list['int_list'].feature.extend([feat])
51 example.feature_lists.feature_list['str_list'].feature.extend([feat])

12