Skip to content

Commit 566b0fb

Browse files
author
chuiweng.zy
committed
fix a bug about "<< std::to_string"
1 parent 09e38dc commit 566b0fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xdl/xdl/core/ops/ps_ops/ps_convert_ckpt_variable_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ class PsConvertCkptVariableOp : public xdl::OpKernelAsync {
193193
if (i > 0) {
194194
ss << ",";
195195
}
196-
ss << vs.data.Raw<T>()[i];
196+
ss << std::to_string(vs.data.Raw<T>()[i]);
197197
}
198198

199199
ss << std::endl;

0 commit comments

Comments
 (0)