/external/libtextclassifier/native/utils/ |
D | token-feature-extractor_test.cc | 47 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 …]
|
D | token-feature-extractor.cc | 84 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 …]
|
D | token-feature-extractor.h | 80 std::vector<float>* dense_features) const;
|
/external/libtextclassifier/native/actions/ |
D | feature-processor.cc | 82 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()
|
D | feature-processor.h | 44 const std::vector<float>& dense_features,
|
/external/tensorflow/tensorflow/python/tpu/ |
D | feature_column_v2_test.py | 20 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/ |
D | tfsa-2021-060.md | 17 dense_features = [] 31 sparse_feature_values=sparse_feature_values, dense_features=dense_features,
|
D | tfsa-2021-146.md | 17 dense_features=[[1.0]],
|
/external/tensorflow/tensorflow/core/kernels/ |
D | sdca_ops_test.cc | 193 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()
|
D | sdca_internal.cc | 518 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/ |
D | feature-processor.cc | 839 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/ |
D | SdcaOptimizer.pbtxt | 19 name: "dense_features" 137 name: "dense_features"
|
D | SdcaOptimizerV2.pbtxt | 19 name: "dense_features"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | SdcaOptimizer.pbtxt | 19 name: "dense_features" 137 name: "dense_features"
|
D | SdcaOptimizerV2.pbtxt | 19 name: "dense_features"
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_SdcaOptimizerV2.pbtxt | 24 name: "dense_features"
|
D | api_def_SdcaOptimizer.pbtxt | 23 name: "dense_features"
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | sequence_feature_column_test.py | 21 from keras.feature_column import dense_features 133 dense_features.DenseFeatures(column), trainable=True)
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.train.pbtxt | 437 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
|
D | tensorflow.raw_ops.pbtxt | 4033 …_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/ |
D | tensorflow.raw_ops.pbtxt | 4033 …_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/ |
D | wrappers.go | 41913 …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/ |
D | ops_history.v2.pbtxt | 66489 name: "dense_features" 66607 name: "dense_features" 66726 name: "dense_features" 83257 name: "dense_features"
|
D | ops_history.v0.pbtxt | 29550 name: "dense_features"
|
/external/tensorflow/tensorflow/core/ops/ |
D | ops.pbtxt | 48056 name: "dense_features" 48175 name: "dense_features"
|