#ifndef FLATBUFFERS_GENERATED_CONVERSIONMETADATA_TFLITE_H_
#define FLATBUFFERS_GENERATED_CONVERSIONMETADATA_TFLITE_H_
#include "flatbuffers/flatbuffers.h"
static_assert …;
namespace tflite {
struct Environment;
struct EnvironmentBuilder;
struct EnvironmentT;
struct SparsityBlockSize;
struct SparsityBlockSizeBuilder;
struct SparsityBlockSizeT;
struct ConversionOptions;
struct ConversionOptionsBuilder;
struct ConversionOptionsT;
struct ConversionMetadata;
struct ConversionMetadataBuilder;
struct ConversionMetadataT;
enum ModelType : int32_t { … };
inline const ModelType (&EnumValuesModelType())[7] { … }
inline const char * const *EnumNamesModelType() { … }
inline const char *EnumNameModelType(ModelType e) { … }
enum ModelOptimizationMode : int32_t { … };
inline const ModelOptimizationMode (&EnumValuesModelOptimizationMode())[8] { … }
inline const char *EnumNameModelOptimizationMode(ModelOptimizationMode e) { … }
struct EnvironmentT : public ::flatbuffers::NativeTable { … };
struct Environment FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct EnvironmentBuilder { … };
inline ::flatbuffers::Offset<Environment> CreateEnvironment(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::String> tensorflow_version = 0,
uint32_t api_version = 0,
tflite::ModelType model_type = tflite::ModelType_NONE) { … }
inline ::flatbuffers::Offset<Environment> CreateEnvironmentDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const char *tensorflow_version = nullptr,
uint32_t api_version = 0,
tflite::ModelType model_type = tflite::ModelType_NONE) { … }
::flatbuffers::Offset<Environment> CreateEnvironment(::flatbuffers::FlatBufferBuilder &_fbb, const EnvironmentT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct SparsityBlockSizeT : public ::flatbuffers::NativeTable { … };
struct SparsityBlockSize FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct SparsityBlockSizeBuilder { … };
inline ::flatbuffers::Offset<SparsityBlockSize> CreateSparsityBlockSize(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<uint32_t>> values = 0) { … }
inline ::flatbuffers::Offset<SparsityBlockSize> CreateSparsityBlockSizeDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<uint32_t> *values = nullptr) { … }
::flatbuffers::Offset<SparsityBlockSize> CreateSparsityBlockSize(::flatbuffers::FlatBufferBuilder &_fbb, const SparsityBlockSizeT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ConversionOptionsT : public ::flatbuffers::NativeTable { … };
struct ConversionOptions FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct ConversionOptionsBuilder { … };
inline ::flatbuffers::Offset<ConversionOptions> CreateConversionOptions(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> model_optimization_modes = 0,
bool allow_custom_ops = false,
bool enable_select_tf_ops = false,
bool force_select_tf_ops = false,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::SparsityBlockSize>>> sparsity_block_sizes = 0) { … }
inline ::flatbuffers::Offset<ConversionOptions> CreateConversionOptionsDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<int32_t> *model_optimization_modes = nullptr,
bool allow_custom_ops = false,
bool enable_select_tf_ops = false,
bool force_select_tf_ops = false,
const std::vector<::flatbuffers::Offset<tflite::SparsityBlockSize>> *sparsity_block_sizes = nullptr) { … }
::flatbuffers::Offset<ConversionOptions> CreateConversionOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ConversionOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct ConversionMetadataT : public ::flatbuffers::NativeTable { … };
struct ConversionMetadata FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct ConversionMetadataBuilder { … };
inline ::flatbuffers::Offset<ConversionMetadata> CreateConversionMetadata(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<tflite::Environment> environment = 0,
::flatbuffers::Offset<tflite::ConversionOptions> options = 0) { … }
::flatbuffers::Offset<ConversionMetadata> CreateConversionMetadata(::flatbuffers::FlatBufferBuilder &_fbb, const ConversionMetadataT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
inline EnvironmentT *Environment::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline void Environment::UnPackTo(EnvironmentT *_o, const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline ::flatbuffers::Offset<Environment> Environment::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const EnvironmentT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline ::flatbuffers::Offset<Environment> CreateEnvironment(::flatbuffers::FlatBufferBuilder &_fbb, const EnvironmentT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline SparsityBlockSizeT *SparsityBlockSize::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline void SparsityBlockSize::UnPackTo(SparsityBlockSizeT *_o, const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline ::flatbuffers::Offset<SparsityBlockSize> SparsityBlockSize::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const SparsityBlockSizeT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline ::flatbuffers::Offset<SparsityBlockSize> CreateSparsityBlockSize(::flatbuffers::FlatBufferBuilder &_fbb, const SparsityBlockSizeT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline ConversionOptionsT::ConversionOptionsT(const ConversionOptionsT &o)
: … { … }
inline ConversionOptionsT &ConversionOptionsT::operator=(ConversionOptionsT o) FLATBUFFERS_NOEXCEPT { … }
inline ConversionOptionsT *ConversionOptions::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline void ConversionOptions::UnPackTo(ConversionOptionsT *_o, const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline ::flatbuffers::Offset<ConversionOptions> ConversionOptions::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ConversionOptionsT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline ::flatbuffers::Offset<ConversionOptions> CreateConversionOptions(::flatbuffers::FlatBufferBuilder &_fbb, const ConversionOptionsT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline ConversionMetadataT::ConversionMetadataT(const ConversionMetadataT &o)
: … { … }
inline ConversionMetadataT &ConversionMetadataT::operator=(ConversionMetadataT o) FLATBUFFERS_NOEXCEPT { … }
inline ConversionMetadataT *ConversionMetadata::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline void ConversionMetadata::UnPackTo(ConversionMetadataT *_o, const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline ::flatbuffers::Offset<ConversionMetadata> ConversionMetadata::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const ConversionMetadataT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline ::flatbuffers::Offset<ConversionMetadata> CreateConversionMetadata(::flatbuffers::FlatBufferBuilder &_fbb, const ConversionMetadataT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline const tflite::ConversionMetadata *GetConversionMetadata(const void *buf) { … }
inline const tflite::ConversionMetadata *GetSizePrefixedConversionMetadata(const void *buf) { … }
inline bool VerifyConversionMetadataBuffer(
::flatbuffers::Verifier &verifier) { … }
inline bool VerifySizePrefixedConversionMetadataBuffer(
::flatbuffers::Verifier &verifier) { … }
inline void FinishConversionMetadataBuffer(
::flatbuffers::FlatBufferBuilder &fbb,
::flatbuffers::Offset<tflite::ConversionMetadata> root) { … }
inline void FinishSizePrefixedConversionMetadataBuffer(
::flatbuffers::FlatBufferBuilder &fbb,
::flatbuffers::Offset<tflite::ConversionMetadata> root) { … }
inline std::unique_ptr<tflite::ConversionMetadataT> UnPackConversionMetadata(
const void *buf,
const ::flatbuffers::resolver_function_t *res = nullptr) { … }
inline std::unique_ptr<tflite::ConversionMetadataT> UnPackSizePrefixedConversionMetadata(
const void *buf,
const ::flatbuffers::resolver_function_t *res = nullptr) { … }
}
#endif