Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ROCm/AMDMIGraphX
/ compute_shape
Method
compute_shape
test/const_eval_test.cpp:62–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
{
61
std::string name() const { return
"non_computable"
; }
62
migraphx::shape compute_shape(std::vector<migraphx::shape> inputs) const
63
{
64
if(inputs.empty())
65
return {};
66
return inputs.front();
67
}
68
};
69
70
struct test_context
Callers
nothing calls this directly
Calls
2
front
Method · 0.80
empty
Method · 0.45
Tested by
no test coverage detected