Skip to content

Commit bda8fcb

Browse files
committed
address CR
1 parent c3d7440 commit bda8fcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/CNTKv2LibraryDll/proto/onnx/CNTKToONNX.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5291,11 +5291,11 @@ bool CNTKToONNXHelper::ProcessLoopsAndCheckCNTKNodeContinueCreate(const Function
52915291
{
52925292
if (futureValueCustomAttrStr == "")
52935293
{
5294-
futureValueCustomAttrStr = "{custom_attributes:" + SerializeDictionaryToString(dict) + "}";
5294+
futureValueCustomAttrStr = "{\"custom_attributes\":" + SerializeDictionaryToString(dict) + "}";
52955295
}
52965296
else
52975297
{
5298-
std::string attrStr = "{custom_attributes:" + SerializeDictionaryToString(dict) + "}";
5298+
std::string attrStr = "{\"custom_attributes\":" + SerializeDictionaryToString(dict) + "}";
52995299
if (attrStr != futureValueCustomAttrStr)
53005300
{
53015301
CNTK::LogicError("Scan node has multiple FutureValue custom attributes from state: %s",

0 commit comments

Comments
 (0)