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

Function test_one_hot

src/opr/test/indexing.cpp:161–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void test_one_hot(int32_t axis, const TensorShapeArray& test_cases) {
162 test_one_hot_get(axis, test_cases);
163 test_one_hot_set(axis, test_cases);
164}
165
166} // anonymous namespace
167

Callers 1

TESTFunction · 0.70

Calls 2

test_one_hot_getFunction · 0.85
test_one_hot_setFunction · 0.85

Tested by

no test coverage detected