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

Fix incorrect example in tf.data.Dataset.window #30663

Merged

Conversation

yongtang
Copy link
Member

This fix fixes an incorrect example in tf.data.Dataset.window

The previous example:

tf.data.Dataset.from_tensor_slices((range(4), range(4)).window(2)

does not have close parentheses, and should be

tf.data.Dataset.from_tensor_slices((range(4), range(4))).window(2)

Signed-off-by: Yong Tang yong.tang.github@outlook.com

This fix fixes an incorrect example in tf.data.Dataset.window

The previous example:
```
tf.data.Dataset.from_tensor_slices((range(4), range(4)).window(2)
```

does not have close parentheses, and should be

```
tf.data.Dataset.from_tensor_slices((range(4), range(4))).window(2)
```

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
@tensorflow-bot tensorflow-bot bot added the size:XS CL Change Size: Extra Small label Jul 12, 2019
@yongtang yongtang requested a review from jsimsa July 12, 2019 22:02
@yongtang yongtang added the kokoro:force-run Tests on submitted change label Jul 12, 2019
@tensorflow-bot tensorflow-bot bot added the ready to pull PR ready for merge process label Jul 12, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Jul 12, 2019
@rthadur rthadur self-assigned this Jul 14, 2019
@rthadur rthadur added this to Assigned Reviewer in PR Queue via automation Jul 14, 2019
@rthadur rthadur added comp:data tf.data related issues ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Jul 14, 2019
@tensorflow-copybara tensorflow-copybara merged commit 98b3e77 into tensorflow:master Jul 15, 2019
PR Queue automation moved this from Assigned Reviewer to Merged Jul 15, 2019
tensorflow-copybara pushed a commit that referenced this pull request Jul 15, 2019
@yongtang yongtang deleted the 07122019-window-docstring branch July 15, 2019 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes comp:data tf.data related issues 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

6 participants