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

Function compute_dims

src/shape_transform_descriptor.cpp:218–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218static std::vector<std::size_t> compute_dims(const operation& op,
219 const std::vector<std::size_t>& idims)
220{
221 shape s{shape::float_type, idims};
222 return op.compute_shape({s}).lens();
223}
224
225MIGRAPHX_DEBUG_USED static std::vector<std::size_t>
226compute_dims(const std::vector<operation>& ops, const std::vector<std::size_t>& idims)

Callers 2

createMethod · 0.85
applyMethod · 0.85

Calls 2

lensMethod · 0.80
compute_shapeMethod · 0.45

Tested by

no test coverage detected