MCPcopy Create free account
hub / github.com/OAID/Tengine / test_fully_connected

Function test_fully_connected

internal/tests/executor/tests/test_fc.cpp:181–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void test_fully_connected(int rep)
182{
183 Node* node = create_fc_node();
184
185 unsigned long time;
186
187 caffe_run_fully_connected(node, rep, &time);
188
189 std::cout << "rep=" << rep << " used time: " << time << "us \n";
190 std::printf("total fops: %.2f M, per op fops: %.2f K\n", op_fops * rep / 1000000, op_fops / 1000);
191 std::printf("performance rate: %.2f Mops\n", op_fops * rep / (time));
192}
193
194void test_new_operator(int rep)
195{

Callers 1

mainFunction · 0.85

Calls 1

create_fc_nodeFunction · 0.85

Tested by

no test coverage detected