/external/libvpx/libvpx/vp9/common/ |
D | vp9_seg_common.c | 35 SEG_LVL_FEATURES feature_id) { in vp9_enable_segfeature() argument 36 seg->feature_mask[segment_id] |= 1 << feature_id; in vp9_enable_segfeature() 39 int vp9_seg_feature_data_max(SEG_LVL_FEATURES feature_id) { in vp9_seg_feature_data_max() argument 40 return seg_feature_data_max[feature_id]; in vp9_seg_feature_data_max() 43 int vp9_is_segfeature_signed(SEG_LVL_FEATURES feature_id) { in vp9_is_segfeature_signed() argument 44 return seg_feature_data_signed[feature_id]; in vp9_is_segfeature_signed() 48 SEG_LVL_FEATURES feature_id, int seg_data) { in vp9_set_segdata() argument 49 assert(seg_data <= seg_feature_data_max[feature_id]); in vp9_set_segdata() 51 assert(seg_feature_data_signed[feature_id]); in vp9_set_segdata() 52 assert(-seg_data <= seg_feature_data_max[feature_id]); in vp9_set_segdata() [all …]
|
D | vp9_seg_common.h | 54 SEG_LVL_FEATURES feature_id) { in segfeature_active() argument 55 return seg->enabled && (seg->feature_mask[segment_id] & (1 << feature_id)); in segfeature_active() 61 SEG_LVL_FEATURES feature_id); 63 int vp9_seg_feature_data_max(SEG_LVL_FEATURES feature_id); 65 int vp9_is_segfeature_signed(SEG_LVL_FEATURES feature_id); 68 SEG_LVL_FEATURES feature_id, int seg_data); 71 SEG_LVL_FEATURES feature_id) { in get_segdata() argument 72 return seg->feature_data[segment_id][feature_id]; in get_segdata()
|
/external/libaom/libaom/av1/common/ |
D | seg_common.c | 56 SEG_LVL_FEATURES feature_id) { in av1_enable_segfeature() argument 57 seg->feature_mask[segment_id] |= 1 << feature_id; in av1_enable_segfeature() 60 int av1_seg_feature_data_max(SEG_LVL_FEATURES feature_id) { in av1_seg_feature_data_max() argument 61 return seg_feature_data_max[feature_id]; in av1_seg_feature_data_max() 64 int av1_is_segfeature_signed(SEG_LVL_FEATURES feature_id) { in av1_is_segfeature_signed() argument 65 return seg_feature_data_signed[feature_id]; in av1_is_segfeature_signed() 80 SEG_LVL_FEATURES feature_id, int seg_data) { in av1_set_segdata() argument 82 assert(seg_feature_data_signed[feature_id]); in av1_set_segdata() 83 assert(-seg_data <= seg_feature_data_max[feature_id]); in av1_set_segdata() 85 assert(seg_data <= seg_feature_data_max[feature_id]); in av1_set_segdata() [all …]
|
D | seg_common.h | 64 SEG_LVL_FEATURES feature_id) { in segfeature_active() argument 65 return seg->enabled && (seg->feature_mask[segment_id] & (1 << feature_id)); in segfeature_active() 84 SEG_LVL_FEATURES feature_id); 88 int av1_seg_feature_data_max(SEG_LVL_FEATURES feature_id); 90 int av1_is_segfeature_signed(SEG_LVL_FEATURES feature_id); 93 SEG_LVL_FEATURES feature_id, int seg_data); 96 SEG_LVL_FEATURES feature_id) { in get_segdata() argument 97 return seg->feature_data[segment_id][feature_id]; in get_segdata()
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
D | input_data.cc | 69 val = GetExampleValue(example, test.feature_id()); in Decide() 85 int example, const decision_trees::FeatureId& feature_id) const { in GetExampleValue() 87 safe_strto32(feature_id.id().value(), &feature); in GetExampleValue() 95 float TensorDataSet::GetExampleValue(int example, int32 feature_id) const { in GetExampleValue() 96 if (feature_id >= input_spec_.dense_features_size()) { in GetExampleValue() 98 feature_id); in GetExampleValue() 100 return (*dense_data_)(example, feature_id); in GetExampleValue() 122 decision_trees::FeatureId* feature_id, in RandomSample() argument 139 *feature_id = available_features_[rand_feature]; in RandomSample() 146 *feature_id = decision_trees::FeatureId(); in RandomSample() [all …]
|
D | split_collection_operators.cc | 118 decision_trees::FeatureId feature_id; in CreateAndInitializeCandidateWithExample() local 119 input_data->RandomSample(example, &feature_id, &bias, &type); in CreateAndInitializeCandidateWithExample() 124 *test->mutable_feature_id() = feature_id; in CreateAndInitializeCandidateWithExample() 129 *test.mutable_feature_id() = feature_id; in CreateAndInitializeCandidateWithExample()
|
D | decision_node_evaluator.cc | 54 CHECK(safe_strto32(test.feature_id().id().value(), &feature_num_)) in InequalityDecisionNodeEvaluator() 55 << "Invalid feature ID: [" << test.feature_id().id().value() << "]"; in InequalityDecisionNodeEvaluator() 110 CHECK(safe_strto32(test.feature_id().id().value(), &feature_num_)) in MatchingValuesDecisionNodeEvaluator() 111 << "Invalid feature ID: [" << test.feature_id().id().value() << "]"; in MatchingValuesDecisionNodeEvaluator()
|
D | test_utils.h | 59 float GetExampleValue(int example, int32 feature_id) const override { in GetExampleValue() argument 60 return data_[example * num_features_ + feature_id]; in GetExampleValue()
|
D | input_data.h | 94 const decision_trees::FeatureId& feature_id) const; 98 virtual float GetExampleValue(int example, int32 feature_id) const;
|
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/ |
D | custom_export_strategy.py | 156 feature_id = split.feature_column 158 inequality_test.feature_id.id.value = sorted_feature_names[feature_id] 165 feature_id = split.feature_column + num_dense 167 inequality_test.feature_id.id.value = ( 169 (sorted_feature_names[feature_id], split.dimension_id)) 170 model_and_features.features.pop(sorted_feature_names[feature_id]) 171 (model_and_features.features[inequality_test.feature_id.id.value] 182 feature_id = split.feature_column + num_dense 184 inequality_test.feature_id.id.value = ( 186 (sorted_feature_names[feature_id], split.dimension_id)) [all …]
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/accumulators/ |
D | class-partition-key.h | 28 ClassPartitionKey() : class_id(-1), partition_id(-1), feature_id(-1) {} in ClassPartitionKey() 31 : class_id(c), partition_id(p), feature_id(f) {} in ClassPartitionKey() 34 return (feature_id == other.feature_id) && 43 return Hash64Combine(class_partition, key.feature_id); in operator() 54 uint64 feature_id; member
|
D | feature-stats-accumulator.h | 49 uint64 feature_id, const StatsType& stats) { in AddStats() argument 51 class_id, partition_id, feature_id)]); in AddStats() 58 uint64 feature_id) const { in GetStats() argument 60 ClassPartitionKey(class_id, partition_id, feature_id)); in GetStats()
|
/external/libtextclassifier/lang_id/common/ |
D | embedding-network.cc | 176 int feature_id; in ConcatEmbeddings() local 181 feature_id = float_feature_value.id; in ConcatEmbeddings() 185 feature_id = feature_value; in ConcatEmbeddings() 189 SAFTM_CHECK_GE(feature_id, 0); in ConcatEmbeddings() 190 SAFTM_CHECK_LT(feature_id, embedding_matrix.rows); in ConcatEmbeddings() 195 feature_id * embedding_row_size_in_bytes); in ConcatEmbeddings() 207 multiplier *= Float16To32(embedding_matrix.quant_scales[feature_id]); in ConcatEmbeddings() 219 multiplier *= Float16To32(embedding_matrix.quant_scales[feature_id]); in ConcatEmbeddings()
|
/external/libaom/libaom/av1/encoder/ |
D | segmentation.h | 26 SEG_LVL_FEATURES feature_id); 28 SEG_LVL_FEATURES feature_id);
|
D | segmentation.c | 37 SEG_LVL_FEATURES feature_id) { in av1_disable_segfeature() argument 38 seg->feature_mask[segment_id] &= ~(1 << feature_id); in av1_disable_segfeature() 42 SEG_LVL_FEATURES feature_id) { in av1_clear_segdata() argument 43 seg->feature_data[segment_id][feature_id] = 0; in av1_clear_segdata()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/trees/ |
D | decision_tree.cc | 85 split.feature_id()) == features.end()) in Traverse() 95 for (const int64 feature_id : in Traverse() local 98 split.feature_ids().end(), feature_id)) { in Traverse() 121 if (std::find(features.begin(), features.end(), split.feature_id()) == in Traverse()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_segmentation.h | 25 SEG_LVL_FEATURES feature_id); 27 SEG_LVL_FEATURES feature_id);
|
D | vp9_segmentation.c | 40 SEG_LVL_FEATURES feature_id) { in vp9_disable_segfeature() argument 41 seg->feature_mask[segment_id] &= ~(1 << feature_id); in vp9_disable_segfeature() 45 SEG_LVL_FEATURES feature_id) { in vp9_clear_segdata() argument 46 seg->feature_data[segment_id][feature_id] = 0; in vp9_clear_segdata()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/batch/ |
D | categorical_split_handler_test.py | 135 self.assertEqual(2, split_node.feature_id) 170 self.assertEqual(1, split_node.feature_id) 258 self.assertEqual(1, split_node.feature_id) 369 self.assertEqual(2, split_node.feature_id) 404 self.assertEqual(1, split_node.feature_id) 474 self.assertEqual(1, split_node.feature_id) 482 self.assertEqual(1, split_node.feature_id) 656 self.assertEqual(2, split_node.feature_id)
|
/external/tensorflow/tensorflow/core/kernels/boosted_trees/ |
D | training_ops.cc | 121 const int32 feature_id = feature_ids(feature_idx); in Compute() local 147 current_tree, node_id, feature_id, threshold, gain, left_contrib, in Compute() 222 const int32 feature_id = feature_ids(candidate.feature_idx); in FindBestSplitsPerNode() local 225 if (feature_id < best_feature_id) { in FindBestSplitsPerNode()
|
D | resources.cc | 63 return (bucketized_features[split.feature_id()](index_in_batch) <= in next_node() 70 return (bucketized_features[split.feature_id()](index_in_batch) == in next_node() 171 int32 BoostedTreesEnsembleResource::feature_id(const int32 tree_id, in feature_id() function in tensorflow::BoostedTreesEnsembleResource 175 return node.bucketized_split().feature_id(); in feature_id() 267 const int32 tree_id, const int32 node_id, const int32 feature_id, in AddBucketizedSplitNode() argument 285 new_split->set_feature_id(feature_id); in AddBucketizedSplitNode()
|
D | prediction_ops.cc | 347 int32 feature_id; in Compute() local 361 feature_id = resource->feature_id(tree_id, node_id); in Compute() 362 example_debug_info.add_feature_ids(feature_id); in Compute()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/ |
D | stats_accumulator_ops.cc | 42 PartitionKey() : partition_id(-1), feature_id(-1), dimension(-1) {} in PartitionKey() 45 : partition_id(p), feature_id(f), dimension(d) {} in PartitionKey() 49 (dimension == other.dimension) && (feature_id == other.feature_id); in operator ==() 62 (a.feature_id < b.feature_id)) { in operator ()() 73 int64 feature_id; member 164 feature_ids(i, 0) = iter.first.feature_id; in SerializeScalarAccumulatorToOutput() 209 feature_ids(i, 0) = iter.first.feature_id; in SerializeTensorAccumulatorToOutput()
|
/external/tensorflow/tensorflow/contrib/decision_trees/proto/ |
D | generic_tree_model.proto | 31 FeatureId feature_id = 1 [deprecated = true]; field 34 // Given a FeatureId feature_id, the feature's description is in 35 // features[feature_id.id.value]. 160 FeatureId feature_id = 1; field
|
/external/tensorflow/tensorflow/lite/models/smartreply/ops/ |
D | extract_feature.cc | 94 int64_t feature_id = in Eval() local 96 label->data.i32[i] = static_cast<int32_t>(feature_id); in Eval()
|