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

Method add_reshape

src/gopt/test/network.cpp:156–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156SymbolVar Network::add_reshape(SymbolVar f) {
157 auto shp = opr::GetVarShape::make(f);
158 return opr::Reshape::make(f, shp);
159}
160
161SymbolVar Network::add_broadcast(SymbolVar f) {
162 auto shp = opr::GetVarShape::make(f);

Callers 1

Calls 1

makeFunction · 0.50

Tested by

no test coverage detected