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 support for RaggedGather/Range/TensorToTensor conversion #6968

Merged
merged 4 commits into from
Oct 27, 2022

Conversation

ahmedsabie
Copy link
Contributor

@ahmedsabie ahmedsabie commented Oct 21, 2022

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


This change is Reviewable

@ahmedsabie ahmedsabie force-pushed the ragged-ttt-conversion branch from 0b1c084 to fb97ed9 Compare October 21, 2022 20:56
@ahmedsabie ahmedsabie changed the title Ragged ttt conversion Add support for RaggedGather/Range/TensorToTensor conversion Oct 21, 2022
@ahmedsabie ahmedsabie force-pushed the ragged-ttt-conversion branch from fb97ed9 to 7d4ec08 Compare October 24, 2022 17:46
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.

thank you for adding the ragged ops.

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


tfjs-converter/python/tensorflowjs/op_list/ragged.json line 8 at r1 (raw file):

      {
        "start": 0,
        "end": -3,

does this mean from the beginning til the 3rd tensor from the end of the input?
which means the paramsDenseValues and outputRaggedRank should be -2 and -1?


tfjs-converter/src/operations/executors/ragged_executor.ts line 3 at r1 (raw file):

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

2022


tfjs-converter/src/operations/executors/ragged_executor_test.ts line 3 at r1 (raw file):

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

2022

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 @lina128 and @pyu10055)


tfjs-converter/python/tensorflowjs/op_list/ragged.json line 8 at r1 (raw file):

Previously, pyu10055 (Ping Yu) wrote…

does this mean from the beginning til the 3rd tensor from the end of the input?
which means the paramsDenseValues and outputRaggedRank should be -2 and -1?

Nice catch, fixed


tfjs-converter/src/operations/executors/ragged_executor.ts line 3 at r1 (raw file):

Previously, pyu10055 (Ping Yu) wrote…

2022

Done.


tfjs-converter/src/operations/executors/ragged_executor_test.ts line 3 at r1 (raw file):

Previously, pyu10055 (Ping Yu) wrote…

2022

Done.

@ahmedsabie ahmedsabie requested a review from pyu10055 October 26, 2022 19:25
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.

Reviewed 3 of 7 files at r1, 1 of 1 files at r2, 3 of 3 files at r3, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @lina128)

Copy link
Member

@mattsoulanille mattsoulanille 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!

@ahmedsabie ahmedsabie merged commit 29fc268 into master Oct 27, 2022
@ahmedsabie ahmedsabie deleted the ragged-ttt-conversion branch October 27, 2022 14:44
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.

3 participants