Skip to content

Conversation

@ganik
Copy link
Member

@ganik ganik commented Aug 29, 2019

fixes #4004
Tests TBD.

@ganik ganik requested a review from a team as a code owner August 29, 2019 19:00
@ganik ganik requested a review from harishsk August 29, 2019 19:00
@codemzs
Copy link
Member

codemzs commented Aug 29, 2019

@ganik do you want this to be part of preview release? #Resolved

@codemzs
Copy link
Member

codemzs commented Aug 29, 2019

@ganik Please add tests that create a graph and output json file to compare against a baseline. #Resolved

@codemzs codemzs self-requested a review August 29, 2019 19:14
Copy link
Member

@codemzs codemzs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add test.

@harishsk
Copy link
Contributor

harishsk commented Aug 29, 2019

@codemzs, Can the test come in as part of another PR? I can use this PR for my work. Can this be merged once the tests pass? #Resolved

@ganik
Copy link
Member Author

ganik commented Aug 29, 2019

no, I am not in hurry, will add tests


In reply to: 526321188 [](ancestors = 526321188)

var key = (KeyDataViewType)_types[iinfo].GetItemType();
node.AddAttribute("max", key.Count);
}
var t = _parent._columns[iinfo].OutputKind.ToInternalDataKind().ToType();
Copy link
Member Author

@ganik ganik Aug 29, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

var t [](start = 16, length = 6)

Need to handle key type #Resolved

@codemzs
Copy link
Member

codemzs commented Aug 29, 2019

@harishsk Please clone @ganik 's repo locally and unblock yourself. Thanks, @ganik for adding tests, they should be pretty straightforward, we have few examples that you can replicate and feel free to ask me if you need any help as I have written all of ONNX converter infrastructure and even tests ... I'm not asking for tests that also run on ORT (though that would be great), just a json file test that compares against the baseline would suffice. #Resolved

@harishsk
Copy link
Contributor

harishsk commented Sep 1, 2019

I should add a note about the last commit I submitted.
With the previous commit, a few other onnx export tests started failing. I looked into it and they were failing because the generated onnx wasn't equal the baseline onnx file. This is related to the change in OnnxUtils.cs where a type was wrong beingy translated. So these baselines had always been wrong and the tests started failing once the bug was fixed.
So I had to update the baseline for these with the correct type translation and also had to a cast operator for the KMeans trainer. #Resolved

@harishsk
Copy link
Contributor

harishsk commented Sep 3, 2019

@codemzs , @eerhardt , Can one of you please review and approve? #Resolved

@harishsk harishsk requested a review from codemzs September 3, 2019 16:08
@harishsk
Copy link
Contributor

harishsk commented Sep 5, 2019

@codemzs / @eerhardt Requesting review/approval #Resolved

@harishsk harishsk requested a review from wschin September 6, 2019 19:42
@ganik ganik dismissed codemzs’s stale review September 6, 2019 22:08

Tests are already added

@ganik ganik merged commit 3c02da5 into dotnet:master Sep 6, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Mar 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeConvertingTransformer requires "Experimental" onnx version.

4 participants