Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/
Dtoken-feature-extractor_test.cc47 std::vector<float> dense_features; in TEST_F() local
50 &dense_features); in TEST_F()
73 EXPECT_THAT(dense_features, testing::ElementsAreArray({1.0, 1.0})); in TEST_F()
76 dense_features.clear(); in TEST_F()
78 &dense_features); in TEST_F()
104 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0, 0.0})); in TEST_F()
117 std::vector<float> dense_features; in TEST_F() local
120 &dense_features); in TEST_F()
124 EXPECT_THAT(dense_features, testing::ElementsAreArray({1.0, 1.0})); in TEST_F()
127 dense_features.clear(); in TEST_F()
[all …]
Dtoken-feature-extractor.cc84 std::vector<float>* dense_features) const { in Extract()
85 if (!dense_features) { in Extract()
91 *dense_features = ExtractDenseFeatures(token, is_in_span); in Extract()
106 std::vector<float> dense_features; in ExtractDenseFeatures() local
113 dense_features.push_back(1.0); in ExtractDenseFeatures()
115 dense_features.push_back(-1.0); in ExtractDenseFeatures()
119 dense_features.push_back(1.0); in ExtractDenseFeatures()
121 dense_features.push_back(-1.0); in ExtractDenseFeatures()
128 dense_features.push_back(1.0); in ExtractDenseFeatures()
131 dense_features.push_back(-1.0); in ExtractDenseFeatures()
[all …]
Dtoken-feature-extractor.h80 std::vector<float>* dense_features) const;
/external/libtextclassifier/native/actions/
Dfeature-processor.cc82 const std::vector<float>& dense_features, in AppendFeatures() argument
100 output_features->insert(output_features->end(), dense_features.begin(), in AppendFeatures()
101 dense_features.end()); in AppendFeatures()
110 std::vector<float> dense_features; in AppendTokenFeatures() local
112 &sparse_features, &dense_features)) { in AppendTokenFeatures()
116 return AppendFeatures(sparse_features, dense_features, embedding_executor, in AppendTokenFeatures()
Dfeature-processor.h44 const std::vector<float>& dense_features,
/external/tensorflow/tensorflow/python/tpu/
Dfeature_column_v2_test.py20 from keras.feature_column import dense_features as df_lib
192 dense_features = df_lib.DenseFeatures([embedding_column])
194 embedding_lookup = dense_features(features)
436 dense_features = df_lib.DenseFeatures([embedding_column_a])
438 embedding_lookup_a = dense_features(input_features)
517 dense_features = df_lib.DenseFeatures(embedding_column)
521 dense_features(input_features)
538 dense_features = df_lib.DenseFeatures(embedding_column)
543 dense_features(input_features)
626 dense_features = df_lib.DenseFeatures(embedding_column)
[all …]
/external/tensorflow/tensorflow/security/advisory/
Dtfsa-2021-060.md17 dense_features = []
31 sparse_feature_values=sparse_feature_values, dense_features=dense_features,
Dtfsa-2021-146.md17 dense_features=[[1.0]],
/external/tensorflow/tensorflow/core/kernels/
Dsdca_ops_test.cc193 std::vector<NodeBuilder::NodeOut> dense_features; in GetGraphs() local
194 dense_features.reserve(num_dense_feature_groups); in GetGraphs()
196 dense_features.push_back(NodeBuilder::NodeOut( in GetGraphs()
218 .Input(dense_features) in GetGraphs()
Dsdca_internal.cc518 auto dense_features = dense_features_inputs[i].template matrix<float>(); in CreateDenseFeatureRepresentation() local
521 new Example::DenseVector{dense_features, example_id}); in CreateDenseFeatureRepresentation()
523 if (!weights.DenseIndexValid(i, dense_features.dimension(1) - 1)) { in CreateDenseFeatureRepresentation()
527 dense_features.dimension(1)); in CreateDenseFeatureRepresentation()
/external/libtextclassifier/native/annotator/
Dfeature-processor.cc839 std::vector<float> dense_features; in AppendTokenFeaturesWithCache() local
842 /*sparse_features=*/nullptr, &dense_features)) { in AppendTokenFeaturesWithCache()
850 output_features->insert(output_features->end(), dense_features.begin(), in AppendTokenFeaturesWithCache()
851 dense_features.end()); in AppendTokenFeaturesWithCache()
858 std::vector<float> dense_features; in AppendTokenFeaturesWithCache() local
861 &sparse_features, &dense_features)) { in AppendTokenFeaturesWithCache()
888 output_features->insert(output_features->end(), dense_features.begin(), in AppendTokenFeaturesWithCache()
889 dense_features.end()); in AppendTokenFeaturesWithCache()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DSdcaOptimizer.pbtxt19 name: "dense_features"
137 name: "dense_features"
DSdcaOptimizerV2.pbtxt19 name: "dense_features"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DSdcaOptimizer.pbtxt19 name: "dense_features"
137 name: "dense_features"
DSdcaOptimizerV2.pbtxt19 name: "dense_features"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SdcaOptimizerV2.pbtxt24 name: "dense_features"
Dapi_def_SdcaOptimizer.pbtxt23 name: "dense_features"
/external/tensorflow/tensorflow/python/feature_column/
Dsequence_feature_column_test.py21 from keras.feature_column import dense_features
133 dense_features.DenseFeatures(column), trainable=True)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.pbtxt437 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
Dtensorflow.raw_ops.pbtxt4033 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
4037 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt4033 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
4037 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
/external/tensorflow/tensorflow/go/op/
Dwrappers.go41913 …arse_feature_indices []tf.Output, sparse_feature_values []tf.Output, dense_features []tf.Output, e…
41924 …eature_indices), tf.OutputList(sparse_feature_values), tf.OutputList(dense_features), example_weig…
42032 …arse_feature_indices []tf.Output, sparse_feature_values []tf.Output, dense_features []tf.Output, e…
42043 …eature_indices), tf.OutputList(sparse_feature_values), tf.OutputList(dense_features), example_weig…
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v2.pbtxt66489 name: "dense_features"
66607 name: "dense_features"
66726 name: "dense_features"
83257 name: "dense_features"
Dops_history.v0.pbtxt29550 name: "dense_features"
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt48056 name: "dense_features"
48175 name: "dense_features"