#ifndef FLATBUFFERS_GENERATED_WEIGHTCACHESCHEMA_TFLITE_XNNPACK_CACHE_SCHEMA_H_
#define FLATBUFFERS_GENERATED_WEIGHTCACHESCHEMA_TFLITE_XNNPACK_CACHE_SCHEMA_H_
#include "flatbuffers/flatbuffers.h"
static_assert …;
namespace tflite {
namespace xnnpack {
namespace cache {
namespace schema {
struct Buffer;
struct BufferBuilder;
struct BufferT;
struct BufferList;
struct BufferListBuilder;
struct BufferListT;
struct BufferT : public ::flatbuffers::NativeTable { … };
struct Buffer FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct BufferBuilder { … };
inline ::flatbuffers::Offset<Buffer> CreateBuffer(
::flatbuffers::FlatBufferBuilder &_fbb,
uint64_t packing_algorithm_id = 0,
uint64_t weights_id = 0,
uint64_t bias_id = 0,
uint64_t offset = 0,
uint64_t size = 0) { … }
::flatbuffers::Offset<Buffer> CreateBuffer(::flatbuffers::FlatBufferBuilder &_fbb, const BufferT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
struct BufferListT : public ::flatbuffers::NativeTable { … };
struct BufferList FLATBUFFERS_FINAL_CLASS : private ::flatbuffers::Table { … };
struct BufferListBuilder { … };
inline ::flatbuffers::Offset<BufferList> CreateBufferList(
::flatbuffers::FlatBufferBuilder &_fbb,
::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tflite::xnnpack::cache::schema::Buffer>>> buffers = 0,
uint64_t base_offset = 0) { … }
inline ::flatbuffers::Offset<BufferList> CreateBufferListDirect(
::flatbuffers::FlatBufferBuilder &_fbb,
const std::vector<::flatbuffers::Offset<tflite::xnnpack::cache::schema::Buffer>> *buffers = nullptr,
uint64_t base_offset = 0) { … }
::flatbuffers::Offset<BufferList> CreateBufferList(::flatbuffers::FlatBufferBuilder &_fbb, const BufferListT *_o, const ::flatbuffers::rehasher_function_t *_rehasher = nullptr);
inline BufferT *Buffer::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline void Buffer::UnPackTo(BufferT *_o, const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline ::flatbuffers::Offset<Buffer> Buffer::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BufferT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline ::flatbuffers::Offset<Buffer> CreateBuffer(::flatbuffers::FlatBufferBuilder &_fbb, const BufferT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline BufferListT::BufferListT(const BufferListT &o)
: … { … }
inline BufferListT &BufferListT::operator=(BufferListT o) FLATBUFFERS_NOEXCEPT { … }
inline BufferListT *BufferList::UnPack(const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline void BufferList::UnPackTo(BufferListT *_o, const ::flatbuffers::resolver_function_t *_resolver) const { … }
inline ::flatbuffers::Offset<BufferList> BufferList::Pack(::flatbuffers::FlatBufferBuilder &_fbb, const BufferListT* _o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline ::flatbuffers::Offset<BufferList> CreateBufferList(::flatbuffers::FlatBufferBuilder &_fbb, const BufferListT *_o, const ::flatbuffers::rehasher_function_t *_rehasher) { … }
inline const tflite::xnnpack::cache::schema::BufferList *GetBufferList(const void *buf) { … }
inline const tflite::xnnpack::cache::schema::BufferList *GetSizePrefixedBufferList(const void *buf) { … }
inline bool VerifyBufferListBuffer(
::flatbuffers::Verifier &verifier) { … }
inline bool VerifySizePrefixedBufferListBuffer(
::flatbuffers::Verifier &verifier) { … }
inline void FinishBufferListBuffer(
::flatbuffers::FlatBufferBuilder &fbb,
::flatbuffers::Offset<tflite::xnnpack::cache::schema::BufferList> root) { … }
inline void FinishSizePrefixedBufferListBuffer(
::flatbuffers::FlatBufferBuilder &fbb,
::flatbuffers::Offset<tflite::xnnpack::cache::schema::BufferList> root) { … }
inline std::unique_ptr<tflite::xnnpack::cache::schema::BufferListT> UnPackBufferList(
const void *buf,
const ::flatbuffers::resolver_function_t *res = nullptr) { … }
inline std::unique_ptr<tflite::xnnpack::cache::schema::BufferListT> UnPackSizePrefixedBufferList(
const void *buf,
const ::flatbuffers::resolver_function_t *res = nullptr) { … }
}
}
}
}
#endif