/* Copyright 2020 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. ==============================================================================*/ #ifndef TENSORFLOW_LITE_SUPPORT_CC_PORT_INTEGRAL_TYPES_H_ #define TENSORFLOW_LITE_SUPPORT_CC_PORT_INTEGRAL_TYPES_H_ // Add namespace here to avoid conflict with other libraries. namespace tflite { schar; int8; int16; int32; int64; uint8; uint16; uint32; char32; uint64; uword_t; #define GG_LONGLONG(x) … #define GG_ULONGLONG(x) … #define GG_LL_FORMAT … #define GG_LL_FORMAT_W … const uint8 kuint8max{ … }; const uint16 kuint16max{ … }; const uint32 kuint32max{ … }; const uint64 kuint64max{ … }; const int8 kint8min{ … }; const int8 kint8max{ … }; const int16 kint16min{ … }; const int16 kint16max{ … }; const int32 kint32min{ … }; const int32 kint32max{ … }; const int64 kint64min{ … }; const int64 kint64max{ … }; Fprint; static const Fprint kIllegalFprint = …; static const Fprint kMaxFprint = …0xFFFFFFFFFFFFFFFF); } // namespace tflite #endif // TENSORFLOW_LITE_SUPPORT_CC_PORT_INTEGRAL_TYPES_H_