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

Function migraphx_shape_equal

src/api/api.cpp:1150–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1148}
1149
1150extern "C" migraphx_status
1151migraphx_shape_equal(bool* out, const_migraphx_shape_t shape, const_migraphx_shape_t x)
1152{
1153 auto api_error_result = migraphx::try_([&] {
1154 if(shape == nullptr)
1155 MIGRAPHX_THROW(migraphx_status_bad_param, "Bad parameter shape: Null pointer");
1156 if(x == nullptr)
1157 MIGRAPHX_THROW(migraphx_status_bad_param, "Bad parameter x: Null pointer");
1158 *out = migraphx::equal((shape->object), (x->object));
1159 });
1160 return api_error_result;
1161}
1162
1163extern "C" migraphx_status migraphx_shape_standard(bool* out, const_migraphx_shape_t shape)
1164{

Callers

nothing calls this directly

Calls 2

try_Function · 0.85
equalFunction · 0.70

Tested by

no test coverage detected