MCPcopy Create free account
hub / github.com/ai-techsystems/deepC / main

Function main

src/operators/LpNormalization.cpp:31–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29#ifdef DNNC_LPNORMALIZATION_TEST
30#include <iostream>
31int main() {
32 float d1[12] = {1., -1., 2., 2., 0., 0., 0., 1., -1., 1., 1., 1.};
33 tensor<float> a({3, 4});
34 a.load(d1);
35
36 std::cout << a << std::endl;
37 LpNormalization<float> m("localOpName");
38 auto result = m.compute(a);
39
40 std::cout << result;
41 std::cout << "\n";
42 return 0;
43}
44#endif

Callers

nothing calls this directly

Calls 2

loadMethod · 0.45
computeMethod · 0.45

Tested by

no test coverage detected