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 doccomment for fromPixels inconsistent result. #5865

Merged
merged 2 commits into from
Nov 22, 2021

Conversation

lina128
Copy link
Collaborator

@lina128 lina128 commented Nov 18, 2021

Fixes #5482

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


This change is Reviewable

@google-cla google-cla bot added the cla: yes label Nov 18, 2021
@lina128 lina128 requested a review from pyu10055 November 18, 2021 00:02
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 @lina128)


tfjs-core/src/ops/browser.ts, line 56 at r1 (raw file):

 * @returns A Tensor3D with the shape `[height, width, numChannels]`.
 *
 * Note: fromPixels can be lossy in some cases, image may result in slightly

same image


tfjs-core/src/ops/browser.ts, line 57 at r1 (raw file):

 *
 * Note: fromPixels can be lossy in some cases, image may result in slightly
 * different tensor values, if rendered with different rendering engines.

rendering by

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 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @lina128)

@lina128 lina128 merged commit 9a18a8e into tensorflow:master Nov 22, 2021
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.

fromPixels results are inconsistent for image input
2 participants