/external/tflite-support/tensorflow_lite_support/cc/task/core/ |
D | external_file_handler.cc | 41 using ::tflite::support::TfLiteSupportStatus; 80 TfLiteSupportStatus::kInvalidArgumentError); in MapExternalFile() 93 TfLiteSupportStatus::kFileNotFoundError); in MapExternalFile() 98 TfLiteSupportStatus::kFilePermissionDeniedError); in MapExternalFile() 102 TfLiteSupportStatus::kFileReadError); in MapExternalFile() 106 TfLiteSupportStatus::kFileReadError); in MapExternalFile() 111 TfLiteSupportStatus::kFileReadError); in MapExternalFile() 121 TfLiteSupportStatus::kInvalidArgumentError); in MapExternalFile() 133 TfLiteSupportStatus::kFileReadError); in MapExternalFile() 146 TfLiteSupportStatus::kInvalidArgumentError); in MapExternalFile() [all …]
|
D | tflite_engine.cc | 55 using ::tflite::support::TfLiteSupportStatus; 125 TfLiteSupportStatus::kInvalidFlatBufferError); in InitializeFromModelFileHandler()
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/ |
D | image_tensor_specs.cc | 39 using ::tflite::support::TfLiteSupportStatus; 52 TfLiteSupportStatus::kInvalidNumInputTensorsError); in GetInputTensorMetadataIfAny() 82 TfLiteSupportStatus::kMetadataInvalidContentPropertiesError); in GetImagePropertiesIfAny() 107 TfLiteSupportStatus::kMetadataInvalidProcessUnitsError); in GetNormalizationOptionsIfAny() 130 TfLiteSupportStatus::kMetadataInvalidProcessUnitsError); in GetNormalizationOptionsIfAny() 155 TfLiteSupportStatus::kInvalidNumInputTensorsError); in BuildInputImageTensorSpecs() 164 TfLiteSupportStatus::kInvalidInputTensorDimensionsError); in BuildInputImageTensorSpecs() 175 TfLiteSupportStatus::kInvalidInputTensorTypeError); in BuildInputImageTensorSpecs() 188 TfLiteSupportStatus::kInvalidArgumentError); in BuildInputImageTensorSpecs() 196 TfLiteSupportStatus::kInvalidInputTensorDimensionsError); in BuildInputImageTensorSpecs() [all …]
|
D | libyuv_frame_buffer_utils.cc | 39 using ::tflite::support::TfLiteSupportStatus; 62 TfLiteSupportStatus::kImageProcessingBackendError); in ConvertFromNv12() 77 TfLiteSupportStatus::kImageProcessingBackendError); in ConvertFromNv12() 95 TfLiteSupportStatus::kImageProcessingBackendError); in ConvertFromNv12() 149 TfLiteSupportStatus::kImageProcessingBackendError); in ConvertFromNv21() 164 TfLiteSupportStatus::kImageProcessingBackendError); in ConvertFromNv21() 182 TfLiteSupportStatus::kImageProcessingBackendError); in ConvertFromNv21() 215 TfLiteSupportStatus::kImageProcessingError); in ConvertFromNv21() 239 TfLiteSupportStatus::kImageProcessingBackendError); in ConvertFromYv() 254 TfLiteSupportStatus::kImageProcessingBackendError); in ConvertFromYv() [all …]
|
D | score_calibration.cc | 38 using ::tflite::support::TfLiteSupportStatus; 85 TfLiteSupportStatus::kMetadataMalformedScoreCalibrationError); in SigmoidFromLabelAndLine() 95 TfLiteSupportStatus::kMetadataMalformedScoreCalibrationError); in SigmoidFromLabelAndLine() 201 TfLiteSupportStatus::kMetadataNumLabelsMismatchError); in BuildSigmoidCalibrationParams()
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/ |
D | object_detector.cc | 56 using ::tflite::support::TfLiteSupportStatus; 74 TfLiteSupportStatus::kMetadataInvalidContentPropertiesError); in GetBoundingBoxProperties() 85 TfLiteSupportStatus::kMetadataInvalidContentPropertiesError); in GetBoundingBoxProperties() 98 TfLiteSupportStatus::kMetadataInvalidContentPropertiesError); in GetBoundingBoxProperties() 108 TfLiteSupportStatus::kMetadataInvalidContentPropertiesError); in GetBoundingBoxProperties() 119 TfLiteSupportStatus::kMetadataInvalidContentPropertiesError); in GetBoundingBoxProperties() 228 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() 234 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() 242 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() 248 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() [all …]
|
D | image_classifier.cc | 45 using ::tflite::support::TfLiteSupportStatus; 98 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() 104 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() 112 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() 120 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() 126 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() 183 TfLiteSupportStatus::kMetadataInconsistencyError); in CheckAndSetOutputs() 215 TfLiteSupportStatus::kMetadataInconsistencyError); in CheckAndSetOutputs() 232 TfLiteSupportStatus::kInvalidOutputTensorDimensionsError); in CheckAndSetOutputs() 242 TfLiteSupportStatus::kInvalidOutputTensorDimensionsError); in CheckAndSetOutputs() [all …]
|
D | image_segmenter.cc | 46 using ::tflite::support::TfLiteSupportStatus; 144 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() 150 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() 156 TfLiteSupportStatus::kInvalidArgumentError); in SanityCheckOptions() 214 TfLiteSupportStatus::kInvalidNumOutputTensorsError); in CheckAndSetOutputs() 225 TfLiteSupportStatus::kInvalidOutputTensorDimensionsError); in CheckAndSetOutputs() 232 TfLiteSupportStatus::kInvalidOutputTensorDimensionsError); in CheckAndSetOutputs() 242 TfLiteSupportStatus::kInvalidOutputTensorDimensionsError); in CheckAndSetOutputs() 253 TfLiteSupportStatus::kInvalidOutputTensorTypeError); in CheckAndSetOutputs() 270 TfLiteSupportStatus::kMetadataInconsistencyError); in CheckAndSetOutputs()
|
/external/tflite-support/tensorflow_lite_support/cc/text/tokenizers/ |
D | tokenizer_utils.cc | 33 using ::tflite::support::TfLiteSupportStatus; 46 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CheckAndLoadFirstAssociatedFile() 62 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CreateTokenizerFromProcessUnit() 84 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CreateTokenizerFromProcessUnit() 97 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CreateTokenizerFromProcessUnit() 105 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CreateTokenizerFromProcessUnit() 115 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CreateTokenizerFromProcessUnit()
|
/external/tflite-support/tensorflow_lite_support/cc/task/text/nlclassifier/ |
D | nl_classifier.cc | 53 using ::tflite::support::TfLiteSupportStatus; 77 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CheckAndLoadFirstAssociatedFile() 92 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CreateRegexTokenizerFromProcessUnit() 102 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CreateRegexTokenizerFromProcessUnit() 114 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CreateRegexTokenizerFromProcessUnit() 127 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CreateRegexTokenizerFromProcessUnit() 135 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in CreateRegexTokenizerFromProcessUnit() 149 TfLiteSupportStatus::kMetadataNotFoundError); in TrySetLabelFromMetadata() 156 TfLiteSupportStatus::kMetadataMissingLabelsError); in TrySetLabelFromMetadata() 164 TfLiteSupportStatus::kMetadataMissingLabelsError); in TrySetLabelFromMetadata() [all …]
|
D | bert_nl_classifier.cc | 48 using ::tflite::support::TfLiteSupportStatus; 137 TfLiteSupportStatus::kInvalidNumOutputTensorsError); in Postprocess() 192 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in InitializeFromMetadata() 222 TfLiteSupportStatus::kInvalidInputTensorDimensionsError); in InitializeFromMetadata() 234 TfLiteSupportStatus::kInvalidInputTensorSizeError); in InitializeFromMetadata() 245 TfLiteSupportStatus::kInvalidInputTensorSizeError); in InitializeFromMetadata() 266 TfLiteSupportStatus::kInvalidInputTensorSizeError); in InitializeFromMetadata()
|
/external/tflite-support/tensorflow_lite_support/metadata/cc/ |
D | metadata_extractor.cc | 44 using ::tflite::support::TfLiteSupportStatus; 62 TfLiteSupportStatus::kMetadataAssociatedFileZipError); in UnzipErrorToStatus() 84 TfLiteSupportStatus::kMetadataAssociatedFileZipError); in GetCurrentZipFileInfo() 109 TfLiteSupportStatus::kMetadataAssociatedFileZipError); in GetCurrentZipFileInfo() 150 TfLiteSupportStatus::kMetadataInvalidProcessUnitsError); in FindFirstProcessUnit() 188 TfLiteSupportStatus::kInvalidFlatBufferError); in InitFromModelBuffer() 223 TfLiteSupportStatus::kMetadataInvalidSchemaVersionError); in InitFromModelBuffer() 252 TfLiteSupportStatus::kMetadataAssociatedFileZipError); in ExtractAssociatedFiles() 269 TfLiteSupportStatus::kMetadataAssociatedFileZipError); in ExtractAssociatedFiles() 276 TfLiteSupportStatus::kMetadataAssociatedFileZipError); in ExtractAssociatedFiles() [all …]
|
/external/tflite-support/tensorflow_lite_support/cc/ |
D | common.h | 45 enum class TfLiteSupportStatus { enum 162 tflite::support::TfLiteSupportStatus tfls_code = 163 tflite::support::TfLiteSupportStatus::kError);
|
D | common.cc | 26 TfLiteSupportStatus tfls_code) { in CreateStatusWithPayload()
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/core/ |
D | label_map_item.cc | 29 using ::tflite::support::TfLiteSupportStatus; 36 TfLiteSupportStatus::kInvalidArgumentError); in BuildLabelMapFromFiles() 68 TfLiteSupportStatus::kMetadataNumLabelsMismatchError); in BuildLabelMapFromFiles() 89 TfLiteSupportStatus::kInvalidArgumentError); in InitializeFromLabelMap()
|
D | classification_head.cc | 30 using ::tflite::support::TfLiteSupportStatus; 85 TfLiteSupportStatus::kMetadataAssociatedFileNotFoundError); in BuildClassificationHead() 96 TfLiteSupportStatus::kMetadataAssociatedFileNotFoundError); in BuildClassificationHead()
|
/external/tflite-support/tensorflow_lite_support/cc/test/task/text/ |
D | bert_nl_classifier_test.cc | 36 using ::tflite::support::TfLiteSupportStatus; 72 absl::StrCat(TfLiteSupportStatus::kFileNotFoundError)))); in TEST()
|
/external/tflite-support/tensorflow_lite_support/cc/task/text/qa/ |
D | bert_question_answerer.cc | 39 using ::tflite::support::TfLiteSupportStatus; 360 TfLiteSupportStatus::kMetadataInvalidTokenizerError); in InitializeFromMetadata()
|