Skip to content

Commit

Permalink
merging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lynx1820 committed Nov 11, 2019
2 parents 93388b6 + c96d690 commit 7fba31c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ private protected override bool SaveAsOnnxCore(OnnxContext ctx, RoleMappedSchema
if (!ctx.ContainsColumn(featName))
return false;
Contracts.Assert(ctx.ContainsColumn(featName));
return mapper.SaveAsOnnx(ctx, outputNames, ctx.GetVariableName(featName));
return mapper.SaveAsOnnx(ctx, new[] { outputNames[1] }, ctx.GetVariableName(featName));
}

private protected override ISchemaBoundMapper BindCore(IChannel ch, RoleMappedSchema schema) =>
Expand Down

0 comments on commit 7fba31c

Please sign in to comment.