Skip to content
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

One Hot 2d Matrix to Make Sparse 3d Matrix #924

Closed
wants to merge 1 commit into from
Closed

One Hot 2d Matrix to Make Sparse 3d Matrix #924

wants to merge 1 commit into from

Conversation

NickShahML
Copy link
Contributor

for text processing in sequence to sequence

for text processing in sequence to sequence


def one_hot_2d_matrix(matrix2d):
maxinteger = matrix2d.max()
Copy link
Member

Choose a reason for hiding this comment

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

No check that matrix2d is a Numpy array...

@NickShahML
Copy link
Contributor Author

I apologize for the non-checks. Let me close this PR, and if I get around to ensuring it goes through those checks, I will submit another PR! Appreciate the feedback.

@NickShahML NickShahML closed this Nov 3, 2015
fchollet pushed a commit that referenced this pull request Sep 22, 2023
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