45 lines
621 B
Markdown
45 lines
621 B
Markdown
![]() |
---
|
||
|
id: 5e8f2f13c4cdbe86b5c72da0
|
||
|
title: 'RNN を使用した自然言語処理: Play Generator の作成'
|
||
|
challengeType: 11
|
||
|
videoId: j5xsxjq_Xk8
|
||
|
bilibiliIds:
|
||
|
aid: 720525759
|
||
|
bvid: BV1xQ4y1r7tw
|
||
|
cid: 409137674
|
||
|
dashedName: natural-language-processing-with-rnns-create-a-play-generator
|
||
|
---
|
||
|
|
||
|
# --question--
|
||
|
|
||
|
## --text--
|
||
|
|
||
|
次の空欄を埋めて RNN のトレーニング例を作成してください。
|
||
|
|
||
|
```py
|
||
|
char_dataset = tf.data.__A__.__B__(text_as_int)
|
||
|
```
|
||
|
|
||
|
## --answers--
|
||
|
|
||
|
A: `Dataset`
|
||
|
|
||
|
B: `from_tensor_slices`
|
||
|
|
||
|
---
|
||
|
|
||
|
A: `data`
|
||
|
|
||
|
B: `from_tensors`
|
||
|
|
||
|
---
|
||
|
|
||
|
A: `DataSet`
|
||
|
|
||
|
B: `from_generator`
|
||
|
|
||
|
## --video-solution--
|
||
|
|
||
|
1
|
||
|
|