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

Function to_string

src/include/migraphx/stringutils.hpp:219–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217
218template <class T>
219inline auto to_string(const T& x)
220 -> decltype((std::declval<std::stringstream>() << x), std::string{})
221{
222 std::stringstream ss;
223 ss << x;
224 return ss.str();
225}
226
227} // namespace MIGRAPHX_INLINE_NS
228} // namespace migraphx

Callers 14

check_shapesClass · 0.70
make_source_contextFunction · 0.70
compute_shapeMethod · 0.50
computeMethod · 0.50
computeMethod · 0.50
compute_shapeMethod · 0.50
compute_shapeMethod · 0.50
dyn_compute_shapeMethod · 0.50
static_compute_shapeMethod · 0.50
static_compute_shapeMethod · 0.50
computeMethod · 0.50
compute_shapeMethod · 0.50

Calls 1

strMethod · 0.45

Tested by

no test coverage detected