-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Added slot names support for OnnxTransformer #4857
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -324,8 +324,8 @@ | |
{ | ||
"name": "target_weights", | ||
"floats": [ | ||
0.50476193, | ||
-0.97911227 | ||
0.504761934, | ||
-0.979112267 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How come these changed? #Resolved There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure. But I see this occurring off and on that the baselines numbers change when we run them locally. I am ignoring them because the change is in the 7th decimal place In reply to: 381858622 [](ancestors = 381858622) |
||
], | ||
"type": "FLOATS" | ||
} | ||
|
@@ -428,6 +428,51 @@ | |
"name": "Identity1", | ||
"opType": "Identity" | ||
}, | ||
{ | ||
"input": [ | ||
"mlnet.F2.SlotNames" | ||
], | ||
"output": [ | ||
"mlnet.F2.unusedOutput" | ||
], | ||
"name": "mlnet.F2.SlotNames", | ||
"opType": "LabelEncoder", | ||
"attribute": [ | ||
{ | ||
"name": "keys_strings", | ||
"strings": [ | ||
"NA==", | ||
"MQ==", | ||
"OA==", | ||
"MTA=", | ||
"Mg==", | ||
"Mw==", | ||
"Nw==", | ||
"NQ==", | ||
"Ng==", | ||
"OQ==" | ||
], | ||
"type": "STRINGS" | ||
}, | ||
{ | ||
"name": "values_int64s", | ||
"ints": [ | ||
"0", | ||
"1", | ||
"2", | ||
"3", | ||
"4", | ||
"5", | ||
"6", | ||
"7", | ||
"8", | ||
"9" | ||
], | ||
"type": "INTS" | ||
} | ||
], | ||
"domain": "ai.onnx.ml" | ||
}, | ||
{ | ||
"input": [ | ||
"Features" | ||
|
@@ -438,6 +483,53 @@ | |
"name": "Identity2", | ||
"opType": "Identity" | ||
}, | ||
{ | ||
"input": [ | ||
"mlnet.Features.SlotNames" | ||
], | ||
"output": [ | ||
"mlnet.Features.unusedOutput" | ||
], | ||
"name": "mlnet.Features.SlotNames", | ||
"opType": "LabelEncoder", | ||
"attribute": [ | ||
{ | ||
"name": "keys_strings", | ||
"strings": [ | ||
"RjE=", | ||
"RjIuNA==", | ||
"RjIuMQ==", | ||
"RjIuOA==", | ||
"RjIuMTA=", | ||
"RjIuMg==", | ||
"RjIuMw==", | ||
"RjIuNw==", | ||
"RjIuNQ==", | ||
"RjIuNg==", | ||
"RjIuOQ==" | ||
], | ||
"type": "STRINGS" | ||
}, | ||
{ | ||
"name": "values_int64s", | ||
"ints": [ | ||
"0", | ||
"1", | ||
"2", | ||
"3", | ||
"4", | ||
"5", | ||
"6", | ||
"7", | ||
"8", | ||
"9", | ||
"10" | ||
], | ||
"type": "INTS" | ||
} | ||
], | ||
"domain": "ai.onnx.ml" | ||
}, | ||
{ | ||
"input": [ | ||
"PredictedLabel" | ||
|
@@ -484,6 +576,28 @@ | |
0 | ||
], | ||
"name": "Offset" | ||
}, | ||
{ | ||
"dims": [ | ||
"1", | ||
"1" | ||
], | ||
"dataType": 8, | ||
"stringData": [ | ||
"b25l" | ||
], | ||
"name": "mlnet.F2.SlotNames" | ||
}, | ||
{ | ||
"dims": [ | ||
"1", | ||
"1" | ||
], | ||
"dataType": 8, | ||
"stringData": [ | ||
"b25l" | ||
], | ||
"name": "mlnet.Features.SlotNames" | ||
} | ||
], | ||
"input": [ | ||
|
@@ -597,6 +711,24 @@ | |
} | ||
} | ||
}, | ||
{ | ||
"name": "mlnet.F2.unusedOutput", | ||
"type": { | ||
"tensorType": { | ||
"elemType": 7, | ||
"shape": { | ||
"dim": [ | ||
{ | ||
"dimValue": "-1" | ||
}, | ||
{ | ||
"dimValue": "1" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "Features.output", | ||
"type": { | ||
|
@@ -615,6 +747,24 @@ | |
} | ||
} | ||
}, | ||
{ | ||
"name": "mlnet.Features.unusedOutput", | ||
"type": { | ||
"tensorType": { | ||
"elemType": 7, | ||
"shape": { | ||
"dim": [ | ||
{ | ||
"dimValue": "-1" | ||
}, | ||
{ | ||
"dimValue": "1" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "PredictedLabel.output", | ||
"type": { | ||
|
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.
Why do we need this? #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.
These are unused. But are specified only to satisfy ORT.
In reply to: 381867237 [](ancestors = 381867237)