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

Add SparseReshape kernel to WASM backend #5723

Merged
merged 4 commits into from Nov 29, 2021
Merged

Conversation

ahmedsabie
Copy link
Contributor

@ahmedsabie ahmedsabie commented Oct 13, 2021

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

Copy link
Collaborator

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 approvals obtained (waiting on @ahmedsabie)


tfjs-core/src/ops/sparse/sparse_reshape_test.ts, line 69 at r1 (raw file):

    ])).toThrowError(/multiple of 7/);
  });
  it('throw error if negative output dim', async () => {

can you add a memory leak check test? thanks


tfjs-core/src/ops/sparse/sparse_reshape_util.ts, line 3 at r1 (raw file):

/**
 * @license
 * Copyright 2018 Google LLC. All Rights Reserved.

2021


tfjs-core/src/ops/sparse/sparse_reshape_util.ts, line 23 at r1 (raw file):

 *
 * @param dim1 The first dimension with a negative 1 value.
 * @param dim2 The second dimension with a negative 1 value..

there is an extra period in the doc for the second param.

Copy link
Contributor Author

@ahmedsabie ahmedsabie left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 approvals obtained (waiting on @pyu10055)


tfjs-core/src/ops/sparse/sparse_reshape_test.ts, line 69 at r1 (raw file):

Previously, pyu10055 (Ping Yu) wrote…

can you add a memory leak check test? thanks

Done.


tfjs-core/src/ops/sparse/sparse_reshape_util.ts, line 3 at r1 (raw file):

Previously, pyu10055 (Ping Yu) wrote…

2021

Done.


tfjs-core/src/ops/sparse/sparse_reshape_util.ts, line 23 at r1 (raw file):

Previously, pyu10055 (Ping Yu) wrote…

there is an extra period in the doc for the second param.

Done.

@pyu10055 pyu10055 merged commit 0bff9c2 into master Nov 29, 2021
@pyu10055 pyu10055 deleted the wasm-sparse-reshape branch November 29, 2021 22:01
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.

None yet

2 participants