MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / reshape

Method reshape

src/argument.cpp:150–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148const shape& argument::get_shape() const { return this->m_shape; }
149
150argument argument::reshape(const shape& s) const
151{
152 assert(s.element_space() <= this->get_shape().element_space());
153 return {s, this->m_data};
154}
155
156argument argument::convert(shape::type_t t) const
157{

Callers 15

run_strided_viewFunction · 0.80
reshape_testFunction · 0.80
TEST_CASEFunction · 0.80
embedding_bag_testFunction · 0.80
pad_3arg_testFunction · 0.80
pad_4arg_axes_testFunction · 0.80
pad_4arg_neg_axes_testFunction · 0.80
range_testFunction · 0.80
range_float_testFunction · 0.80
sub_scalar_testFunction · 0.80
verify_argsFunction · 0.80

Calls 2

element_spaceMethod · 0.45
get_shapeMethod · 0.45

Tested by

no test coverage detected