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

Function main

src/operators/baseOperator.cpp:55–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53using namespace dnnc;
54
55int main() {
56 tensor<float> tf({3, 4});
57 fakeOperatorTest<float> fotf;
58 fotf.testEigenMatrix(tf);
59
60 tensor<double> td({3, 4});
61 fakeOperatorTest<double> fotd;
62 fotd.testEigenMatrix(td);
63
64 tensor<int> ti({3, 4});
65 fakeOperatorTest<int> foti;
66 foti.testEigenMatrix(ti);
67
68 tensor<float> tf1({2, 3, 4, 5});
69 fakeOperatorTest<float> fotf1;
70 fotf1.testEigenMatrix(tf1);
71
72 tensor<double> td1({3, 4, 6, 7});
73 fakeOperatorTest<double> fotd1;
74 fotd1.testEigenMatrix(td1);
75
76 return 0;
77}
78#endif

Callers

nothing calls this directly

Calls 1

testEigenMatrixMethod · 0.80

Tested by

no test coverage detected