MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / FlattenToString

Function FlattenToString

paddle/phi/kernels/funcs/tensor_to_string.h:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61template <typename... Args>
62static std::string FlattenToString(Args &&...args) {
63 const auto &vec = ToVector(std::forward<Args>(args)...);
64 return "[" + paddle::string::join_strings(vec, ',') + "]";
65}
66
67} // namespace funcs
68} // namespace phi

Callers

nothing calls this directly

Calls 2

ToVectorFunction · 0.85
join_stringsFunction · 0.85

Tested by

no test coverage detected