/external/libtextclassifier/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 114 dense_features.push_back(1.0); in ExtractDenseFeatures() 116 dense_features.push_back(-1.0); in ExtractDenseFeatures() 120 dense_features.push_back(1.0); in ExtractDenseFeatures() 122 dense_features.push_back(-1.0); in ExtractDenseFeatures() 129 dense_features.push_back(1.0); in ExtractDenseFeatures() 132 dense_features.push_back(-1.0); in ExtractDenseFeatures() [all …]
|
D | token-feature-extractor.h | 78 std::vector<float>* dense_features) const;
|
/external/libtextclassifier/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/contrib/tensor_forest/python/ops/ |
D | data_ops.py | 124 dense_features = [] 145 col_spec.name = GetColumnName(k, len(dense_features)) 154 dense_features.append(CastToFloat(data[k])) 158 if dense_features: 159 processed_dense_features = array_ops.concat(dense_features, 1)
|
/external/tensorflow/tensorflow/core/kernels/tensor_forest/ |
D | prediction_ops.cc | 42 auto dense_features = dense_features_t->matrix<float>(); in Compute() local 63 auto traverse = [this, &out, &dense_features, decision_tree_resource, in Compute() 69 decision_tree_resource->TraverseTree(example_id, &dense_features); in Compute()
|
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ |
D | sdca_optimizer.py | 149 dense_features, sparse_features, sparse_feature_with_values = [], [], [] 168 dense_features.append(transformed_tensor) 256 dense_features=dense_features,
|
/external/tensorflow/tensorflow/core/kernels/ |
D | sdca_ops_test.cc | 192 std::vector<NodeBuilder::NodeOut> dense_features; in GetGraphs() local 193 dense_features.reserve(num_dense_feature_groups); in GetGraphs() 195 dense_features.push_back(NodeBuilder::NodeOut( in GetGraphs() 217 .Input(dense_features) in GetGraphs()
|
D | sdca_internal.cc | 477 auto dense_features = dense_features_inputs[i].template matrix<float>(); in CreateDenseFeatureRepresentation() local 480 new Example::DenseVector{dense_features, example_id}); in CreateDenseFeatureRepresentation() 482 if (!weights.DenseIndexValid(i, dense_features.dimension(1) - 1)) { in CreateDenseFeatureRepresentation() 486 dense_features.dimension(1)); in CreateDenseFeatureRepresentation()
|
/external/libtextclassifier/annotator/ |
D | feature-processor.cc | 809 std::vector<float> dense_features; in AppendTokenFeaturesWithCache() local 812 /*sparse_features=*/nullptr, &dense_features)) { in AppendTokenFeaturesWithCache() 820 output_features->insert(output_features->end(), dense_features.begin(), in AppendTokenFeaturesWithCache() 821 dense_features.end()); in AppendTokenFeaturesWithCache() 828 std::vector<float> dense_features; in AppendTokenFeaturesWithCache() local 831 &sparse_features, &dense_features)) { in AppendTokenFeaturesWithCache() 858 output_features->insert(output_features->end(), dense_features.begin(), in AppendTokenFeaturesWithCache() 859 dense_features.end()); in AppendTokenFeaturesWithCache()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_TensorForestTreePredict.pbtxt | 17 name: "dense_features"
|
D | api_def_SdcaOptimizerV2.pbtxt | 24 name: "dense_features"
|
D | api_def_SdcaOptimizer.pbtxt | 23 name: "dense_features"
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/ |
D | tree_utils.cc | 541 const auto dense_features = dense.matrix<float>(); in GetDenseFunctor() local 544 return [dense_features](int32 i, int32 feature) { in GetDenseFunctor() 545 return dense_features(i, feature); in GetDenseFunctor()
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.train.pbtxt | 101 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
|
D | tensorflow.raw_ops.pbtxt | 3229 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w… 3233 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
|
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ops/ |
D | sdca_ops.py | 318 dense_features = self._convert_n_to_tensor(examples['dense_features']) 324 result_dense += math_ops.matmul(dense_features[i],
|
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/kernel_tests/ |
D | sdca_ops_test.py | 107 dense_features=[], 126 dense_features=[], 198 dense_features=dense_tensors,
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | feature_column_v2_test.py | 3180 dense_features = fc.DenseFeatures(fc.numeric_column('a')) 3181 inputs = self.evaluate(dense_features(features)) 3211 dense_features = fc.DenseFeatures([embedding_column]) 3214 inputs = dense_features(features) 3215 variables = dense_features.variables 3225 _ = dense_features(features) 3227 self.assertEqual(variables[0], dense_features.variables[0]) 3256 dense_features = fc.DenseFeatures([embedding_column]) 3260 matrix = dense_features(features) 3358 dense_features = fc.DenseFeatures([price1, price2]) [all …]
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.train.pbtxt | 429 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
|
D | tensorflow.raw_ops.pbtxt | 3229 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w… 3233 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
|
/external/tensorflow/tensorflow/go/op/ |
D | wrappers.go | 3655 func TensorForestTreePredict(scope *Scope, tree_handle tf.Output, dense_features tf.Output, logits_… 3663 tree_handle, dense_features, 8490 …arse_feature_indices []tf.Output, sparse_feature_values []tf.Output, dense_features []tf.Output, e… 8501 …eature_indices), tf.OutputList(sparse_feature_values), tf.OutputList(dense_features), example_weig… 16274 …arse_feature_indices []tf.Output, sparse_feature_values []tf.Output, dense_features []tf.Output, e… 16285 …eature_indices), tf.OutputList(sparse_feature_values), tf.OutputList(dense_features), example_weig…
|
/external/tensorflow/tensorflow/core/ops/ |
D | ops.pbtxt | 33489 name: "dense_features" 33608 name: "dense_features" 41310 name: "dense_features"
|
/external/tensorflow/tensorflow/core/ops/compat/ |
D | ops_history.v2.pbtxt | 67177 name: "dense_features" 67295 name: "dense_features" 67414 name: "dense_features" 84162 name: "dense_features"
|