You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
934 B
C++
27 lines
934 B
C++
#include "Test.h"
|
|
#include "Pattern.h"
|
|
class FullyConnectedBench:public Client::Suite
|
|
{
|
|
public:
|
|
FullyConnectedBench(Testing::testID_t id);
|
|
void setUp(Testing::testID_t,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr);
|
|
void tearDown(Testing::testID_t,Client::PatternMgr *mgr);
|
|
private:
|
|
#include "FullyConnectedBench_decl.h"
|
|
|
|
int repeatNb;
|
|
Client::Pattern<q7_t> input;
|
|
Client::Pattern<q31_t> bias;
|
|
Client::Pattern<q7_t> weight;
|
|
Client::LocalPattern<q7_t> output;
|
|
Client::LocalPattern<q15_t> temp;
|
|
// Reference patterns are not loaded when we are in dump mode
|
|
Client::RefPattern<q7_t> ref;
|
|
|
|
q7_t *inp;
|
|
q31_t *biasp;
|
|
q7_t *weightp;
|
|
q7_t *outp;
|
|
q7_t *refp;
|
|
q15_t *tempp;
|
|
}; |