-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Connect Inputs and Outputs Properly and Export CopyColumnTransform to (unofficial) ONNX operator #952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1. Add exporter for CopyColumnTransform 2. Remove duplicate definitions in ONNX graph
This PR does not reference an issue. Can you please file one and reference it in the PR description? #Resolved |
Note that the newly generated test models generate the same values as the existing ones. Experiments were run with the latest runtime. #Resolved |
/// </summary> | ||
/// <param name="variableName">examined string</param> | ||
/// <returns>True if the input argument has been used to denote an ONNX variable. Otherwise, False.</returns> | ||
public abstract bool IsDefined(string variableName); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IsDefined [](start = 29, length = 9)
Can we please rename this to be more specific like "IsVariableDefined"? #Resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
public void SaveAsOnnx(OnnxContext ctx) | ||
{ | ||
var infos = GetOutputColumns(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are not using this infos anywhere. I am guessing it was originally meant to be used in the foreach but you decided to use _columns instead?
Related issue: #955 , #968.
type
field for encoding the transform's C# name.