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

Prefer TensorShape(...) over as_shape(...) when passing lists #41730

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

lgeiger
Copy link
Contributor

@lgeiger lgeiger commented Jul 25, 2020

Directly calling tensor_shape.TensorShape(...) is equivalent to tensor_shape.as_shape(...) when passing tuples or lists. This PR changes the usage to prefer the former.

@google-ml-butler google-ml-butler bot added the size:XS CL Change Size: Extra Small label Jul 25, 2020
@gbaned gbaned self-assigned this Jul 25, 2020
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Jul 25, 2020
PR Queue automation moved this from Assigned Reviewer to Approved by Reviewer Jul 28, 2020
@google-ml-butler google-ml-butler bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Jul 28, 2020
@tensorflow-copybara tensorflow-copybara merged commit 182391e into tensorflow:master Jul 29, 2020
PR Queue automation moved this from Approved by Reviewer to Merged Jul 29, 2020
@lgeiger lgeiger deleted the tensor_shape branch July 29, 2020 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes kokoro:force-run Tests on submitted change ready to pull PR ready for merge process size:XS CL Change Size: Extra Small
Projects
PR Queue
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

5 participants