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

Function migraphx_from_value

src/serialize.cpp:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44void migraphx_to_value(value& v, const literal& l) { raw_data_to_value(v, l); }
45void migraphx_from_value(const value& v, literal& l)
46{
47 auto s = migraphx::from_value<shape>(v.at("shape"));
48 l = literal(s, v.at("data").get_binary().data());
49}
50
51void migraphx_to_value(value& v, const argument& a) { raw_data_to_value(v, a); }
52void migraphx_from_value(const value& v, argument& a)

Callers

nothing calls this directly

Calls 6

atMethod · 0.80
get_binaryMethod · 0.80
get_argumentMethod · 0.80
literalClass · 0.50
dataMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected