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

Method convert

src/argument.cpp:156–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156argument argument::convert(shape::type_t t) const
157{
158 argument result{this->get_shape().with_type(t)};
159 this->visit([&](auto x) { result.fill(x.begin(), x.end()); });
160 return result;
161}
162
163argument::data_t argument::data_t::share() const
164{

Callers

nothing calls this directly

Calls 6

with_typeMethod · 0.80
fillMethod · 0.80
get_shapeMethod · 0.45
visitMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected