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

Function common_shape

src/common.cpp:147–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147shape common_shape(const std::vector<shape>& shapes)
148{
149 if(shapes.empty())
150 return {};
151 return {compute_common_types(shapes), compute_common_lens(shapes)};
152}
153
154std::vector<instruction_ref> insert_common_args(module& m,
155 instruction_ref ins,

Callers 2

insert_common_argsFunction · 0.85
parseMethod · 0.85

Calls 3

compute_common_typesFunction · 0.85
compute_common_lensFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected