Skip to content

Conversation

nkreeger
Copy link
Contributor

@nkreeger nkreeger commented May 29, 2018

This change is Reviewable

@nkreeger nkreeger requested a review from caisq May 29, 2018 17:27
@caisq
Copy link
Collaborator

caisq commented May 29, 2018

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.


mnist-node/data.js, line 129 at r1 (raw file):

Int32Array(

Can you describe the reason?


Comments from Reviewable

@nkreeger
Copy link
Contributor Author

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.


mnist-node/data.js, line 129 at r1 (raw file):

Previously, caisq (Shanqing Cai) wrote…
Int32Array(

Can you describe the reason?

Uint8 is fine due to the range - but the conversion implies Int32Array when converting to labels further down in this file. Uint8Arrays are used for boolean types in TFJS core.


Comments from Reviewable

@caisq
Copy link
Collaborator

caisq commented May 29, 2018

:lgtm_strong:


Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.


Comments from Reviewable

@nkreeger nkreeger merged commit de45547 into master May 29, 2018
@nkreeger nkreeger deleted the kreeger-type-fix branch May 29, 2018 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants