fomo-face-detection
/
ei-cpp-export
/edge-impulse-sdk
/tensorflow
/lite
/kernels
/internal
/compatibility.h
| /* Copyright 2017 The TensorFlow Authors. All Rights Reserved. | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. | |
| ==============================================================================*/ | |
| // TODO(ahentz): Clean up: We should stick to the DCHECK versions. | |
| // TODO(b/162019032): Consider removing these type-aliases. | |
| using int8 = std::int8_t; | |
| using uint8 = std::uint8_t; | |
| using int16 = std::int16_t; | |
| using uint16 = std::uint16_t; | |
| using int32 = std::int32_t; | |
| using uint32 = std::uint32_t; | |
| // TFLITE_DEPRECATED() | |
| // | |
| // Duplicated from absl/base/macros.h to avoid pulling in that library. | |
| // Marks a deprecated class, struct, enum, function, method and variable | |
| // declarations. The macro argument is used as a custom diagnostic message (e.g. | |
| // suggestion of a better alternative). | |
| // | |
| // Example: | |
| // | |
| // class TFLITE_DEPRECATED("Use Bar instead") Foo {...}; | |
| // TFLITE_DEPRECATED("Use Baz instead") void Bar() {...} | |
| // | |
| // Every usage of a deprecated entity will trigger a warning when compiled with | |
| // clang's `-Wdeprecated-declarations` option. This option is turned off by | |
| // default, but the warnings will be reported by clang-tidy. | |