Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ flatten
Method
flatten
src/core/impl/graph/symbol_var.cpp:37–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
}
36
37
SymbolVar SymbolVar::flatten() const {
38
return opr::Reshape::make(*this, make_scalar(1), 0);
39
}
40
41
SymbolVar SymbolVar::add_axis(size_t idx) const {
42
return opr::AxisAddRemove::make(
Callers
15
forward
Method · 0.45
TestShuffleNetCuda
Class · 0.45
check_correct
Method · 0.45
start_callback
Method · 0.45
finish_callback
Method · 0.45
TestShuffleNet
Class · 0.45
check_correct
Method · 0.45
start_callback
Method · 0.45
finish_callback
Method · 0.45
check_correct
Method · 0.45
TestShuffleNet
Class · 0.45
check_correct
Method · 0.45
Calls
1
make
Function · 0.70
Tested by
15
check_correct
Method · 0.36
start_callback
Method · 0.36
finish_callback
Method · 0.36
check_correct
Method · 0.36
start_callback
Method · 0.36
finish_callback
Method · 0.36
check_correct
Method · 0.36
check_correct
Method · 0.36
run<shape_dep_const_shape>
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36