17#ifndef __MPQSOLVER_TEST_HELPER_H__
18#define __MPQSOLVER_TEST_HELPER_H__
24#include <luci/test/TestIOGraph.h>
52 std::unique_ptr<loco::Graph>
_g;
Logical unit of computation.
Class to build tensor data.
CircleNode for Output of the Graph.
Collection of 'loco::Graph's.
simple model with just an Add of input and constant
luci::CircleConst * _beta
base class of simple graphs used for testing
std::unique_ptr< loco::Graph > _g
virtual ~SimpleGraph()=default
virtual void initInput(loco::Node *)
luci::CircleOutput * _output
void transfer_to(luci::Module *module)
luci::CircleInput * _input
virtual loco::Node * insertGraphBody(loco::Node *input)=0
virtual ~SoftmaxGraphlet()=default
void init(loco::Graph *g)
luci::CircleConst * _softmax_indices
SoftmaxGraphlet()=default
luci::CircleReduceMax * _max
void initMinMax(luci::CircleNode *node, float min, float max)
SoftmaxTestGraph()=default
std::unique_ptr< mpqsolver::core::DataProvider > getAllZeroSingleDataProvider()
std::string makeTemporaryFolder(char *name_template)
create valid name of temporary folder
void makeTemporaryFile(char *name_template)
create valid name of temporary file
bool isFileExists(const std::string &file_path)
checks whether file exists
void writeDataToFile(const std::string &file_path, const std::string &data)
write data to file_path