#include "tensorflow/lite/experimental/resource/resource_variable.h"
#include <cstdlib>
#include <cstring>
#include <map>
#include <memory>
#include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/core/c/c_api_types.h"
#include "tensorflow/lite/experimental/resource/resource_base.h"
namespace tflite {
namespace resource {
ResourceVariable::ResourceVariable() { … }
ResourceVariable::ResourceVariable(ResourceVariable&& other) { … }
ResourceVariable::~ResourceVariable() { … }
TfLiteStatus ResourceVariable::AssignFrom(const TfLiteTensor* tensor) { … }
void CreateResourceVariableIfNotAvailable(ResourceMap* resources,
int resource_id) { … }
ResourceVariable* GetResourceVariable(ResourceMap* resources, int resource_id) { … }
bool IsBuiltinResource(const TfLiteTensor* tensor) { … }
}
}