MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / TEST

Function TEST

lite/test/test_network_c.cpp:209–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 result_mgb->get_tensor_total_size_in_byte() / sizeof(float)))
208
209TEST(TestCapiNetWork, BasicResetInput) {
210 ForwardMgb;
211 LiteNetwork c_network;
212 LITE_CAPI_CHECK(LITE_make_default_network(&c_network));
213 LoadNetwork;
214 SetInput;
215 ForwardNetwork;
216 GetOutput;
217 CompareResult;
218 LITE_destroy_network(c_network);
219}
220
221TEST(TestCapiNetWork, GetAllName) {
222 std::string model_path = "./shufflenet.mge";

Callers

nothing calls this directly

Calls 15

LITE_destroy_networkFunction · 0.85
LITE_get_all_input_nameFunction · 0.85
LITE_get_all_output_nameFunction · 0.85
default_configFunction · 0.85
get_input_dataFunction · 0.85
default_network_ioFunction · 0.85
LITE_make_networkFunction · 0.85
LITE_get_discrete_tensorFunction · 0.85

Tested by

no test coverage detected