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

Function try_compute_shape

src/instruction.cpp:547–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547std::vector<shape> try_compute_shape(const operation& op, const std::vector<shape>& inputs)
548{
549 shape new_shape;
550 try
551 {
552 new_shape = op.compute_shape(inputs);
553 }
554 catch(...)
555 {
556 return {};
557 }
558 return {new_shape};
559}
560
561migraphx::instruction* as_address(const std::list<instruction>::iterator& ins) noexcept
562{

Callers 1

applyMethod · 0.50

Calls 1

compute_shapeMethod · 0.45

Tested by

no test coverage detected