Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

tf.oneHot NaN throws error #1180

Merged
merged 4 commits into from
Jul 25, 2018
Merged

Conversation

zboldyga
Copy link
Contributor

@zboldyga zboldyga commented Jul 21, 2018

Description

This is in reference to issue: tensorflow/tfjs#442

Calling oneHot, tensor constructors, and convertToTensor with NaN values for dtype 'int32' will throw an error.


For repository owners only:

Please remember to apply all applicable tags to your pull request.
Tags: FEATURE, BREAKING, BUG, PERF, DEV, DOC, SECURITY

For more info see: https://github.com/tensorflow/tfjs/blob/master/DEVELOPMENT.md


This change is Reviewable

Copy link
Contributor

@bileschi bileschi left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks!

Copy link
Contributor

@nsthorat nsthorat left a comment

Choose a reason for hiding this comment

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

Reviewed 5 of 5 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@nsthorat nsthorat merged commit 93a2563 into tensorflow:master Jul 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants