Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
161
void 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
TEST
Function · 0.70
Calls
2
test_one_hot_get
Function · 0.85
test_one_hot_set
Function · 0.85
Tested by
no test coverage detected