#include "backend/ExecTime.h"
#include "backend/IConfig.h"
-#include "backend/IConstantInitializer.h"
-#include "backend/IKernelGenerator.h"
-#include "backend/IShapeFixer.h"
#include "backend/Backend.h"
#include <gtest/gtest.h>
-#include <fstream>
#include <string>
namespace
bool SupportSubTensorAlloc() override { return false; }
};
-struct MockConstantInitializer : IConstantInitializer
-{
- void run() {}
-};
-
-struct MockKernelGenerator : IKernelGenerator
-{
-};
-
-struct MockShapeFixer : IShapeFixer
-{
- std::shared_ptr<ITensorBuilder> tensor_builder() final { return nullptr; }
-};
-
struct MockBackend : public ::neurun::backend::Backend
{
std::shared_ptr<neurun::backend::IConfig> config() const override