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

Function dump_float

tests/bin/test_mxnet_mobileface.cpp:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void dump_float(const char* fname, float* data, int number)
53{
54 FILE* fp = fopen(fname, "w");
55
56 for(int i = 0; i < number; i++)
57 fprintf(fp, " %f\n", data[i]);
58
59 fclose(fp);
60}
61
62int test_graph(graph_t graph, const char* dump_file, const float means[], const float scale)
63{

Callers 1

test_graphFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected