Home
last modified time | relevance | path

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

/external/libtextclassifier/
Dtoken-feature-extractor_test.cc42 std::vector<float> dense_features; in TEST() local
45 &dense_features); in TEST()
68 EXPECT_THAT(dense_features, testing::ElementsAreArray({1.0, 1.0})); in TEST()
71 dense_features.clear(); in TEST()
73 &dense_features); in TEST()
99 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0, 0.0})); in TEST()
113 std::vector<float> dense_features; in TEST() local
116 &dense_features); in TEST()
120 EXPECT_THAT(dense_features, testing::ElementsAreArray({1.0, 1.0})); in TEST()
123 dense_features.clear(); in TEST()
[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
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 …]
Dfeature-processor.cc944 std::vector<float> dense_features; in AppendTokenFeaturesWithCache() local
947 /*sparse_features=*/nullptr, &dense_features)) { in AppendTokenFeaturesWithCache()
955 output_features->insert(output_features->end(), dense_features.begin(), in AppendTokenFeaturesWithCache()
956 dense_features.end()); in AppendTokenFeaturesWithCache()
963 std::vector<float> dense_features; in AppendTokenFeaturesWithCache() local
966 &sparse_features, &dense_features)) { in AppendTokenFeaturesWithCache()
993 output_features->insert(output_features->end(), dense_features.begin(), in AppendTokenFeaturesWithCache()
994 dense_features.end()); in AppendTokenFeaturesWithCache()
Dtoken-feature-extractor.h78 std::vector<float>* dense_features) const;
/external/tensorflow/tensorflow/contrib/tensor_forest/python/ops/
Ddata_ops.py124 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/contrib/linear_optimizer/python/
Dsdca_optimizer.py135 dense_features, sparse_features, sparse_feature_with_values = [], [], []
154 dense_features.append(transformed_tensor)
214 dense_features=dense_features,
/external/tensorflow/tensorflow/core/kernels/
Dsdca_ops_test.cc192 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()
Dsdca_internal.cc463 auto dense_features = dense_features_inputs[i].template matrix<float>(); in CreateDenseFeatureRepresentation() local
466 new Example::DenseVector{dense_features, example_id}); in CreateDenseFeatureRepresentation()
468 if (!weights.DenseIndexValid(i, dense_features.dimension(1) - 1)) { in CreateDenseFeatureRepresentation()
472 dense_features.dimension(1)); in CreateDenseFeatureRepresentation()
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
Dtree_utils.cc541 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/contrib/linear_optimizer/python/ops/
Dsdca_ops.py246 dense_features = self._convert_n_to_tensor(examples['dense_features'])
252 result_dense += math_ops.matmul(dense_features[i],
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SdcaOptimizer.pbtxt23 name: "dense_features"
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/kernel_tests/
Dsdca_ops_test.py99 dense_features=[],
153 dense_features=dense_tensors,
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.train.pbtxt405 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
/external/tensorflow/tensorflow/go/op/
Dwrappers.go14142 …arse_feature_indices []tf.Output, sparse_feature_values []tf.Output, dense_features []tf.Output, e…
14153 …eature_indices), tf.OutputList(sparse_feature_values), tf.OutputList(dense_features), example_weig…
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt23159 name: "dense_features"
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v0.pbtxt29550 name: "dense_features"
Dops_history.v1.pbtxt49306 name: "dense_features"