Skip to content

convert Dimension to Int for sparse_merge in _IndicatorColumn - #12558

Merged
jhseu merged 5 commits into
tensorflow:masterfrom
facaiy:BUG/indicator_weight_column
Aug 25, 2017
Merged

jhseu merged 5 commits into
tensorflow:masterfrom
facaiy:BUG/indicator_weight_column

Conversation

@facaiy

@facaiy facaiy commented Aug 24, 2017

Copy link
Copy Markdown
Member

The PR is aimed to fix #12557 .

sparse_merge cannot handle Dimension, hence casting Dimension to int when invoked.

How to test

  • add an unit test.
  • pass all tests.

@tensorflow-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This looks good. Thanks for contributing a fix!

@facaiy

facaiy commented Aug 25, 2017

Copy link
Copy Markdown
Member Author

Thanks for you approval, @000drax !

@alextp

alextp commented Aug 25, 2017

Copy link
Copy Markdown
Contributor

Jenkins, test this please.

@jhseu
jhseu merged commit f36e562 into tensorflow:master Aug 25, 2017
@facaiy
facaiy deleted the BUG/indicator_weight_column branch August 25, 2017 21:39
@alextp alextp mentioned this pull request Aug 25, 2017
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

indicator_column raises a TypeError when weighted_categorical_column is used as its input.

5 participants