/external/libtextclassifier/ |
D | token-feature-extractor_test.cc | 42 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 …]
|
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 | feature-processor.cc | 944 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()
|
D | token-feature-extractor.h | 78 std::vector<float>* dense_features) const;
|
/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/contrib/linear_optimizer/python/ |
D | sdca_optimizer.py | 135 dense_features, sparse_features, sparse_feature_with_values = [], [], [] 154 dense_features.append(transformed_tensor) 214 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 | 463 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/ |
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/contrib/linear_optimizer/python/ops/ |
D | sdca_ops.py | 246 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/ |
D | api_def_SdcaOptimizer.pbtxt | 23 name: "dense_features"
|
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/kernel_tests/ |
D | sdca_ops_test.py | 99 dense_features=[], 153 dense_features=dense_tensors,
|
/external/tensorflow/tensorflow/tools/api/golden/ |
D | tensorflow.train.pbtxt | 405 …_indices\', \'sparse_feature_indices\', \'sparse_feature_values\', \'dense_features\', \'example_w…
|
/external/tensorflow/tensorflow/go/op/ |
D | wrappers.go | 14142 …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/ |
D | ops.pbtxt | 23159 name: "dense_features"
|
/external/tensorflow/tensorflow/core/ops/compat/ |
D | ops_history.v0.pbtxt | 29550 name: "dense_features"
|
D | ops_history.v1.pbtxt | 49306 name: "dense_features"
|