14#ifndef TENSORFLOW_SERIALIZER_H
15#define TENSORFLOW_SERIALIZER_H
18#include "tensorflow/compiler/tf2xla/xla_compiled_cpu_function.h"
30#define SET_FEATURE(TYPE, _) \
31 void setFeature(const std::string &, const TYPE) override; \
32 void setFeature(const std::string &, const std::vector<TYPE> &) override;
38 reinterpret_cast<tensorflow::XlaCompiledCpuFunction *
>(request);
#define SUPPORTED_TYPES(M)
#define SET_FEATURE(TYPE, _)
setFeature() is used to set the features of the data structure used for communication.
SerDesKind getKind() const
TensorflowSerDes - Serialization/Deserialization to support TF AOT models.
void setRequest(void *request) override
static bool classof(const BaseSerDes *S)
void cleanDataStructures() override
void * deserializeUntyped(void *data) override
tensorflow::XlaCompiledCpuFunction * CompiledModel
void * getSerializedData() override
SerDesKind
This is the base class for SerDes.