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

Method reshape

src/core/impl/graph/symbol_var.cpp:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21SymbolVar SymbolVar::reshape(const TensorShape& tshape) const {
22 return opr::Reshape::make(*this, tshape);
23}
24
25SymbolVar SymbolVar::reshape(SymbolVar tshape) const {
26 return opr::Reshape::make(*this, tshape);

Callers 15

TEST_FFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
run_level2Function · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
run_graphFunction · 0.45
TESTFunction · 0.45

Calls 1

makeFunction · 0.70

Tested by 15

TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
run_level2Function · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
run_graphFunction · 0.36
TESTFunction · 0.36