Searched refs:normalization_options (Results 1 – 14 of 14) sorted by relevance
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/ |
D | image_tensor_specs.cc | 109 absl::optional<NormalizationOptions> normalization_options; in GetNormalizationOptionsIfAny() local 111 normalization_options = NormalizationOptions{ in GetNormalizationOptionsIfAny() 118 normalization_options = NormalizationOptions{ in GetNormalizationOptionsIfAny() 132 return normalization_options; in GetNormalizationOptionsIfAny() 144 absl::optional<NormalizationOptions> normalization_options; in BuildInputImageTensorSpecs() local 147 ASSIGN_OR_RETURN(normalization_options, in BuildInputImageTensorSpecs() 204 if (!normalization_options.has_value()) { in BuildInputImageTensorSpecs() 211 normalization_options.value().num_values != in BuildInputImageTensorSpecs() 247 result.normalization_options = normalization_options; in BuildInputImageTensorSpecs()
|
D | image_tensor_specs.h | 73 absl::optional<NormalizationOptions> normalization_options; member
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/core/ |
D | base_vision_task_api.h | 202 normalization_options = input_specs_->normalization_options.value(); in Preprocess() local 203 if (normalization_options.num_values == 1) { in Preprocess() 204 float mean_value = normalization_options.mean_values[0]; in Preprocess() 205 float inv_std_value = (1.0f / normalization_options.std_values[0]); in Preprocess() 213 1.0f / normalization_options.std_values[0], in Preprocess() 214 1.0f / normalization_options.std_values[1], in Preprocess() 215 1.0f / normalization_options.std_values[2]}; in Preprocess() 220 normalization_options.mean_values[i % 3]); in Preprocess()
|
/external/libtextclassifier/native/utils/ |
D | normalization.cc | 25 const NormalizationOptions* normalization_options, in NormalizeText() argument 28 unilib, normalization_options->codepointwise_normalization(), text); in NormalizeText()
|
D | normalization.h | 31 const NormalizationOptions* normalization_options,
|
/external/libtextclassifier/native/actions/ |
D | utils.cc | 88 if (group->normalization_options() == nullptr) { in NormalizeMatchText() 91 return NormalizeText(unilib, group->normalization_options(), match_text); in NormalizeMatchText()
|
D | actions-suggestions_test.cc | 243 mapping->normalization_options.reset(new NormalizationOptionsT); in TEST_F() 244 mapping->normalization_options->codepointwise_normalization = in TEST_F() 979 greeting_group->normalization_options.reset(new NormalizationOptionsT); in TEST_F() 980 greeting_group->normalization_options->codepointwise_normalization = in TEST_F() 1033 code_group->normalization_options.reset(new NormalizationOptionsT); in TEST_F() 1034 code_group->normalization_options->codepointwise_normalization = in TEST_F()
|
D | actions_model.fbs | 360 normalization_options:NormalizationOptions; 442 normalization_options:NormalizationOptions;
|
D | actions-suggestions.cc | 1222 if (mapping->normalization_options() != nullptr) { in SuggestActionsFromAnnotation() 1224 NormalizeText(*unilib_, mapping->normalization_options(), in SuggestActionsFromAnnotation()
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator.cc | 182 if (group->normalization_options() != nullptr) { in InstantiateClassificationFromDerivation() 183 match_text = NormalizeText(unilib_, group->normalization_options(), in InstantiateClassificationFromDerivation()
|
D | grammar-annotator_test.cc | 428 group->normalization_options.reset(new NormalizationOptionsT); in TEST_F() 429 group->normalization_options->codepointwise_normalization = in TEST_F()
|
/external/libtextclassifier/native/annotator/ |
D | annotator_test-include.cc | 432 pattern->capturing_group[2]->normalization_options.reset( in TEST_F() 435 ->normalization_options->codepointwise_normalization = in TEST_F() 834 pattern->capturing_group[2]->normalization_options.reset( in TEST_F() 837 ->normalization_options->codepointwise_normalization = in TEST_F()
|
D | annotator.cc | 2592 if (group->normalization_options() != nullptr) { in SerializedEntityDataFromRegexMatch() 2594 NormalizeText(*unilib_, group->normalization_options(), in SerializedEntityDataFromRegexMatch()
|
D | model.fbs | 225 normalization_options:NormalizationOptions;
|